Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 88.42 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 183.6 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 223.3 MB / 241.2 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.452/0.452, allocations: 38.07 MB / 330.4 MB, free: 14.13 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.00041, allocations: 11.98 kB / 400.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3826, allocations: 59.16 MB / 459.3 MB, free: 30.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.007709/0.3903, allocations: 6.898 MB / 466.2 MB, free: 25.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005963/0.3964, allocations: 3.9 MB / 470.1 MB, free: 22.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008082/0.3972, allocations: 15.97 kB / 470.1 MB, free: 22.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004892/0.3977, allocations: 137.3 kB / 470.3 MB, free: 22.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002607/0.4003, allocations: 0.7927 MB / 471.1 MB, free: 22.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00087/0.4012, allocations: 224.5 kB / 471.3 MB, free: 22.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00305/0.4043, allocations: 1.874 MB / 473.2 MB, free: 21.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005962/0.4049, allocations: 325.3 kB / 473.5 MB, free: 21.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.4061, allocations: 467.6 kB / 473.9 MB, free: 21.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.4073, allocations: 0.5652 MB / 474.5 MB, free: 21.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.456e-05/0.4074, allocations: 19.69 kB / 474.5 MB, free: 21.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.4091, allocations: 474.3 kB / 475 MB, free: 20.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003787/0.4095, allocations: 250.7 kB / 475.2 MB, free: 20.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.4096, allocations: 108.7 kB / 475.3 MB, free: 20.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.4107, allocations: 0.5854 MB / 475.9 MB, free: 20.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.4107, allocations: 0 / 475.9 MB, free: 20.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4107, allocations: 1.406 kB / 475.9 MB, free: 20.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.4107, allocations: 0 / 475.9 MB, free: 20.23 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001095/0.4118, allocations: 0.7164 MB / 476.6 MB, free: 19.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.4119, allocations: 9.469 kB / 476.6 MB, free: 19.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.627e-05/0.4119, allocations: 85.62 kB / 476.7 MB, free: 19.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.4134, allocations: 133.6 kB / 476.9 MB, free: 19.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.4138, allocations: 324.4 kB / 477.2 MB, free: 19.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.81e-05/0.4138, allocations: 32.06 kB / 477.2 MB, free: 19.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/0.4139, allocations: 42.09 kB / 477.2 MB, free: 19.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008451/0.4147, allocations: 0.5722 MB / 477.8 MB, free: 18.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.4148, allocations: 9 kB / 477.8 MB, free: 18.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.587e-05/0.4148, allocations: 21.11 kB / 477.9 MB, free: 18.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.703e-05/0.4149, allocations: 37.09 kB / 477.9 MB, free: 18.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006583/0.4156, allocations: 378.4 kB / 478.3 MB, free: 18.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.4179, allocations: 2.604 MB / 480.9 MB, free: 16.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006551/0.4186, allocations: 440.2 kB / 481.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.4189, allocations: 204 kB / 481.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.4189, allocations: 9.516 kB / 481.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.4189, allocations: 46.5 kB / 481.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.4189, allocations: 0 / 481.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.0016/0.4205, allocations: 0.7537 MB / 482.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.4206, allocations: 105.9 kB / 482.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/0.421, allocations: 322.2 kB / 482.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.421, allocations: 34.77 kB / 482.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.4212, allocations: 251 kB / 483 MB, free: 14.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.532e-05/0.4213, allocations: 122.6 kB / 483.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.656e-05/0.4213, allocations: 10.22 kB / 483.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.295e-05/0.4214, allocations: 339.9 kB / 483.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.4216, allocations: 126.5 kB / 483.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.4219, allocations: 283.6 kB / 483.9 MB, free: 13.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.4221, allocations: 177 kB / 484 MB, free: 13.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.4222, allocations: 1.844 kB / 484 MB, free: 13.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008644/0.423, allocations: 0.5607 MB / 484.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.4231, allocations: 6.594 kB / 484.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.4231, allocations: 5.906 kB / 484.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003468/0.4234, allocations: 124.4 kB / 484.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.4237, allocations: 69.31 kB / 484.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/0.426, allocations: 2.342 MB / 487.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.4262, allocations: 40.34 kB / 487.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.4263, allocations: 19.41 kB / 487.2 MB, free: 11.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002134/0.4265, allocations: 201.8 kB / 487.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.266e-05/0.4266, allocations: 35.53 kB / 487.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.084e-05/0.4267, allocations: 43.95 kB / 487.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4267, allocations: 4 kB / 487.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.4267, allocations: 12 kB / 487.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4267, allocations: 7.938 kB / 487.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.4277, allocations: 0.9339 MB / 488.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4278, allocations: 0 / 488.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.4279, allocations: 43.98 kB / 488.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002207/0.4281, allocations: 104.8 kB / 488.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.4281, allocations: 4.094 kB / 488.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001875/0.43, allocations: 2.352 MB / 490.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.43, allocations: 3.953 kB / 490.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000658/0.4307, allocations: 0.6149 MB / 491.5 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.4308, allocations: 120.6 kB / 491.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.772e-05/0.4309, allocations: 11.95 kB / 491.7 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.431, allocations: 4 kB / 491.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.4311, allocations: 23.97 kB / 491.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.4311, allocations: 12 kB / 491.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002046/0.4313, allocations: 223 kB / 491.9 MB, free: 6.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4313, allocations: 0 / 491.9 MB, free: 6.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007836/0.4321, allocations: 159.7 kB / 492.1 MB, free: 6.254 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007638/0.4329, allocations: 1.156 MB / 493.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007429/0.4336, allocations: 0.5141 MB / 493.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4337, allocations: 1.25 kB / 493.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003522/0.434, allocations: 350.7 kB / 494.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00057/0.4346, allocations: 51.91 kB / 494.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.4372, allocations: 2.475 MB / 496.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.4375, allocations: 0.8746 MB / 497.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.4377, allocations: 74.89 kB / 497.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.4378, allocations: 115.4 kB / 497.7 MB, free: 448 kB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4378, allocations: 0 / 497.7 MB, free: 448 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/0.4588, allocations: 6.917 MB / 0.4928 GB, free: 9.676 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/0.4591, allocations: 212.1 kB / 0.493 GB, free: 9.438 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/2.515, allocations: 2.812 kB / 0.493 GB, free: 9.438 MB / 366.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat does not exist to compare? outputFormat=mat