Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.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.NetworkOpened,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened",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.0009611/0.0009611, allocations: 98.23 kB / 16.3 MB, free: 5.57 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.001236/0.001236, allocations: 184.2 kB / 17.2 MB, free: 5.504 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.299/1.299, allocations: 223.2 MB / 241.1 MB, free: 308 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1653/0.1653, allocations: 38.08 MB / 330.3 MB, free: 8.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.0002906, allocations: 8 kB / 400 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1083, allocations: 59.17 MB / 459.2 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.006561/0.1149, allocations: 6.866 MB / 466.1 MB, free: 452 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005467/0.1204, allocations: 4.362 MB / 470.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004157/0.1208, allocations: 19.94 kB / 470.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.1212, allocations: 163 kB / 470.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001919/0.1231, allocations: 0.6814 MB / 471.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007675/0.1239, allocations: 291.2 kB / 471.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006542/0.1246, allocations: 0.6081 MB / 472.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/0.1264, allocations: 1.154 MB / 473.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005726/0.127, allocations: 390.6 kB / 473.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004437/0.1274, allocations: 354.8 kB / 474.1 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.929e-05/0.1275, allocations: 36 kB / 474.1 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.1288, allocations: 0.7407 MB / 474.9 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000338/0.1292, allocations: 411.1 kB / 475.3 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.1293, allocations: 185.3 kB / 475.4 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.1305, allocations: 1.08 MB / 476.5 MB, free: 5.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1305, allocations: 0 / 476.5 MB, free: 5.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1306, allocations: 0 / 476.5 MB, free: 5.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.1306, allocations: 0 / 476.5 MB, free: 5.957 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001448/0.132, allocations: 1.03 MB / 477.6 MB, free: 4.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1321, allocations: 8.031 kB / 477.6 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/0.1322, allocations: 131.2 kB / 477.7 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003223/0.1355, allocations: 462.3 kB / 478.1 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008175/0.1363, allocations: 482.2 kB / 478.6 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.226e-05/0.1363, allocations: 57.97 kB / 478.7 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.1365, allocations: 75.98 kB / 478.7 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.1382, allocations: 1.222 MB / 480 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.1382, allocations: 3.906 kB / 480 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.954e-05/0.1383, allocations: 31.98 kB / 480 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.894e-05/0.1384, allocations: 77.95 kB / 480.1 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.1402, allocations: 1.308 MB / 481.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005703/0.1459, allocations: 3.716 MB / 485.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.1477, allocations: 1.088 MB / 486.2 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.725e-05/0.1478, allocations: 13.2 kB / 486.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.1478, allocations: 51.5 kB / 486.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 3.396e-06/0.1478, allocations: 0 / 486.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.006494/0.1543, allocations: 3.115 MB / 489.4 MB, free: 8.816 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.1544, allocations: 90.11 kB / 489.5 MB, free: 8.711 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003989/0.1548, allocations: 373.6 kB / 489.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.284e-05/0.1549, allocations: 37.7 kB / 489.9 MB, free: 8.297 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.1551, allocations: 332 kB / 490.2 MB, free: 7.965 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000292/0.1554, allocations: 319.3 kB / 490.5 MB, free: 7.648 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.1554, allocations: 20 kB / 490.5 MB, free: 7.629 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1556, allocations: 370.8 kB / 490.9 MB, free: 7.258 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006439/0.1562, allocations: 465.7 kB / 491.3 MB, free: 6.805 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007155/0.157, allocations: 0.5626 MB / 491.9 MB, free: 6.207 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007333/0.1577, allocations: 0.5339 MB / 492.4 MB, free: 5.676 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1577, allocations: 4 kB / 492.4 MB, free: 5.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002328/0.1601, allocations: 1.473 MB / 493.9 MB, free: 4.188 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.1601, allocations: 7.953 kB / 493.9 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1601, allocations: 4 kB / 493.9 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009309/0.1611, allocations: 332.7 kB / 494.2 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007165/0.1618, allocations: 191.7 kB / 494.4 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005257/0.167, allocations: 3.96 MB / 498.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006336/0.1677, allocations: 47.94 kB / 498.4 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.1679, allocations: 39.98 kB / 498.5 MB, free: 15.45 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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.0005751/0.1685, allocations: 297.7 kB / 498.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.1686, allocations: 59.25 kB / 498.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002724/0.1714, allocations: 1.543 MB / 0.4886 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.1714, allocations: 8 kB / 0.4886 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.1714, allocations: 15.95 kB / 0.4887 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.1714, allocations: 7.969 kB / 0.4887 GB, free: 13.51 MB / 382.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.005043/0.1765, allocations: 3.006 MB / 0.4916 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.1765, allocations: 4 kB / 0.4916 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005969/0.1771, allocations: 171.7 kB / 0.4918 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007583/0.1779, allocations: 277.9 kB / 0.492 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.807e-05/0.178, allocations: 31.98 kB / 0.4921 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004591/0.1826, allocations: 3.677 MB / 0.4957 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.1826, allocations: 8.062 kB / 0.4957 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/0.185, allocations: 1.738 MB / 0.4974 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.1852, allocations: 152.3 kB / 0.4975 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.552e-05/0.1853, allocations: 20 kB / 0.4975 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.1857, allocations: 51.84 kB / 0.4976 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.1859, allocations: 76.84 kB / 0.4976 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.44e-05/0.186, allocations: 39.98 kB / 0.4977 GB, free: 3.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002889/0.1863, allocations: 263.1 kB / 0.4979 GB, free: 3.555 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1863, allocations: 0 / 0.4979 GB, free: 3.555 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001037/0.1873, allocations: 308 kB / 0.4982 GB, free: 3.254 MB / 382.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.23/0.4173, allocations: 3.339 MB / 0.5015 GB, free: 55.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002713/0.4201, allocations: 1.375 MB / 0.5028 GB, free: 54.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.4201, allocations: 0.75 kB / 0.5028 GB, free: 54.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.4213, allocations: 0.8341 MB / 0.5036 GB, free: 54.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005786/0.4219, allocations: 89.66 kB / 0.5037 GB, free: 54.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007149/0.429, allocations: 6.769 MB / 0.5103 GB, free: 51.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007632/0.4298, allocations: 1.103 MB / 0.5114 GB, free: 50.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004854/0.4303, allocations: 183.4 kB / 0.5116 GB, free: 50.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003417/0.4307, allocations: 270.3 kB / 0.5119 GB, free: 50.32 MB / 382.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4307, allocations: 0 / 0.5119 GB, free: 50.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.4579, allocations: 15.09 MB / 0.5266 GB, free: 44.99 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001183/0.458, allocations: 216.3 kB / 0.5268 GB, free: 44.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/2.469, allocations: 1.5 kB / 0.5268 GB, free: 44.74 MB / 382.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkOpened_res.mat does not exist to compare? outputFormat=mat