Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.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,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop",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.001083/0.001083, allocations: 88.62 kB / 16.31 MB, free: 6.457 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.001375/0.001375, allocations: 183.1 kB / 17.21 MB, free: 6.328 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.831/1.831, allocations: 223.3 MB / 241.2 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3526/0.3526, allocations: 38.08 MB / 330.4 MB, free: 14.26 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003911, allocations: 8 kB / 400.2 MB, free: 9.203 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4395, allocations: 59.17 MB / 459.3 MB, free: 30.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.008653/0.4482, allocations: 6.759 MB / 466.1 MB, free: 25.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007435/0.4557, allocations: 4.121 MB / 470.2 MB, free: 22.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.457, allocations: 15.47 kB / 470.2 MB, free: 22.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006819/0.4577, allocations: 135.5 kB / 470.4 MB, free: 22.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004512/0.4623, allocations: 0.8854 MB / 471.2 MB, free: 22.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.4637, allocations: 229.3 kB / 471.5 MB, free: 22.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005173/0.4689, allocations: 1.912 MB / 473.4 MB, free: 21.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002697/0.4716, allocations: 1.175 MB / 474.5 MB, free: 21.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/0.4732, allocations: 496.9 kB / 475 MB, free: 20.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.4747, allocations: 0.6642 MB / 475.7 MB, free: 20.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.92e-05/0.4748, allocations: 31.16 kB / 475.7 MB, free: 20.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002584/0.4774, allocations: 0.7322 MB / 476.5 MB, free: 20.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006461/0.478, allocations: 456 kB / 476.9 MB, free: 19.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003013/0.4783, allocations: 175.9 kB / 477.1 MB, free: 19.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002065/0.4804, allocations: 1.027 MB / 478.1 MB, free: 19.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.4804, allocations: 0 / 478.1 MB, free: 19.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4804, allocations: 0 / 478.1 MB, free: 19.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.4805, allocations: 1.125 kB / 478.1 MB, free: 19.1 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.00161/0.4821, allocations: 0.9918 MB / 479.1 MB, free: 18.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.4821, allocations: 13.88 kB / 479.1 MB, free: 18.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001668/0.4823, allocations: 128.6 kB / 479.2 MB, free: 18.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003109/0.4854, allocations: 387.1 kB / 479.6 MB, free: 18.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009663/0.4864, allocations: 473.3 kB / 480.1 MB, free: 17.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.433e-05/0.4865, allocations: 59.11 kB / 480.1 MB, free: 17.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/0.4867, allocations: 70.94 kB / 480.2 MB, free: 17.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/0.4887, allocations: 1.172 MB / 481.4 MB, free: 16.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.4888, allocations: 1.938 kB / 481.4 MB, free: 16.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.233e-05/0.4889, allocations: 30.42 kB / 481.4 MB, free: 16.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/0.489, allocations: 70.14 kB / 481.5 MB, free: 16.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.4911, allocations: 1.244 MB / 482.7 MB, free: 16.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00496/0.496, allocations: 3.515 MB / 486.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/0.4974, allocations: 1.075 MB / 487.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006948/0.4981, allocations: 0.6539 MB / 488 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.142e-05/0.4982, allocations: 20.98 kB / 488 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.4983, allocations: 43.56 kB / 488 MB, free: 10.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 3.757e-06/0.4983, allocations: 0 / 488 MB, free: 10.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=92): time 0.005746/0.504, allocations: 3.052 MB / 491.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.5041, allocations: 90.23 kB / 491.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.5045, allocations: 361.6 kB / 491.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/0.5045, allocations: 41.7 kB / 491.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.5047, allocations: 312.1 kB / 491.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.5049, allocations: 315.4 kB / 492.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.505, allocations: 16 kB / 492.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.5051, allocations: 370.7 kB / 492.5 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005286/0.5056, allocations: 461.7 kB / 493 MB, free: 5.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006052/0.5062, allocations: 0.5734 MB / 493.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007048/0.5069, allocations: 0.5379 MB / 494.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5069, allocations: 4 kB / 494.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002094/0.509, allocations: 1.465 MB / 495.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.5091, allocations: 7.984 kB / 495.6 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.5091, allocations: 4 kB / 495.6 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008475/0.5099, allocations: 334.4 kB / 495.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006617/0.5106, allocations: 179.7 kB / 496.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004861/0.5155, allocations: 3.87 MB / 500 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007031/0.5162, allocations: 51.89 kB / 0.4883 GB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.628e-05/0.5163, allocations: 43.92 kB / 0.4883 GB, free: 14.61 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005701/0.5169, allocations: 289.6 kB / 0.4886 GB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.517, allocations: 63.23 kB / 0.4887 GB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002928/0.52, allocations: 1.559 MB / 0.4902 GB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.52, allocations: 8 kB / 0.4902 GB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.52, allocations: 8 kB / 0.4902 GB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.5201, allocations: 3.984 kB / 0.4902 GB, free: 12.66 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005579/0.5256, allocations: 3.024 MB / 0.4932 GB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.5257, allocations: 8.422 kB / 0.4932 GB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000719/0.5264, allocations: 167.8 kB / 0.4933 GB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008506/0.5273, allocations: 292.5 kB / 0.4936 GB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.191e-05/0.5274, allocations: 20 kB / 0.4936 GB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005588/0.533, allocations: 3.595 MB / 0.4971 GB, free: 5.289 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/0.533, allocations: 11.94 kB / 0.4972 GB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003032/0.5361, allocations: 1.585 MB / 0.4987 GB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/0.5364, allocations: 144.3 kB / 0.4988 GB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.5365, allocations: 31.92 kB / 0.4989 GB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/0.537, allocations: 39.92 kB / 0.4989 GB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.5371, allocations: 80.83 kB / 0.499 GB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.239e-05/0.5372, allocations: 39.98 kB / 0.499 GB, free: 3.277 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000345/0.5376, allocations: 255.2 kB / 0.4993 GB, free: 3.027 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5376, allocations: 0 / 0.4993 GB, free: 3.027 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001285/0.5389, allocations: 304 kB / 0.4996 GB, free: 2.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (82): * Single equations (assignments): 80 * 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 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003185/0.5421, allocations: 2.158 MB / 0.5017 GB, free: 0.5039 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002596/0.5447, allocations: 1.386 MB / 0.503 GB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.5447, allocations: 4.062 kB / 0.503 GB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00142/0.5461, allocations: 0.8399 MB / 0.5038 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000954/0.5471, allocations: 110.5 kB / 0.504 GB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009164/0.5563, allocations: 5.187 MB / 0.509 GB, free: 8.824 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/0.5576, allocations: 1.072 MB / 0.5101 GB, free: 7.723 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006275/0.5582, allocations: 184.6 kB / 0.5102 GB, free: 7.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000536/0.5588, allocations: 255.3 kB / 0.5105 GB, free: 7.289 MB / 382.1 MB Notification: Performance of SimCode: time 2.244e-06/0.5588, allocations: 3.938 kB / 0.5105 GB, free: 7.285 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03786/0.5966, allocations: 14.97 MB / 0.5251 GB, free: 8.477 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002423/0.597, allocations: 211.9 kB / 0.5253 GB, free: 8.238 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/2.838, allocations: 0 / 0.5253 GB, free: 8.238 MB / 398.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_res.mat does not exist to compare? outputFormat=mat