Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_PowerSystems_Examples_Generic_Network_NetworkOpened",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkOpened,fileNamePrefix="PowerSystems_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.0007447/0.0007447, allocations: 89.39 kB / 16.32 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.0008923/0.0008923, allocations: 180.2 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.4 MB / 223.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3204/0.3204, allocations: 38.05 MB / 309.7 MB, free: 9.047 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005386/0.0005387, allocations: 12 kB / 376.6 MB, free: 15.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1393, allocations: 56.33 MB / 433 MB, free: 6.715 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.008089/0.1475, allocations: 7.178 MB / 440.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006384/0.1539, allocations: 4.557 MB / 444.7 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008304/0.1548, allocations: 19.88 kB / 444.7 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006702/0.1555, allocations: 146.9 kB / 444.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002974/0.1585, allocations: 0.9456 MB / 445.8 MB, free: 9.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.1595, allocations: 275.2 kB / 446.1 MB, free: 9.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002512/0.1621, allocations: 1.995 MB / 448.1 MB, free: 7.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002203/0.1643, allocations: 1.135 MB / 449.2 MB, free: 6.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.1655, allocations: 0.5093 MB / 449.7 MB, free: 5.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.1668, allocations: 0.6776 MB / 450.4 MB, free: 5.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.167, allocations: 36 kB / 450.4 MB, free: 5.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002051/0.169, allocations: 0.7869 MB / 451.2 MB, free: 4.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006774/0.1697, allocations: 470.8 kB / 451.7 MB, free: 3.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004026/0.1701, allocations: 177.3 kB / 451.8 MB, free: 3.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.1721, allocations: 1.083 MB / 452.9 MB, free: 2.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1721, allocations: 0 / 452.9 MB, free: 2.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1721, allocations: 0 / 452.9 MB, free: 2.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.764e-05/0.1722, allocations: 0 / 452.9 MB, free: 2.648 MB / 382.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.002042/0.1742, allocations: 1.034 MB / 454 MB, free: 1.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1743, allocations: 12.03 kB / 454 MB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002358/0.1745, allocations: 131.2 kB / 454.1 MB, free: 1.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003209/0.1777, allocations: 414.4 kB / 454.5 MB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008217/0.1786, allocations: 478.1 kB / 455 MB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.511e-05/0.1787, allocations: 61.98 kB / 455 MB, free: 448 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.1788, allocations: 75.98 kB / 455.1 MB, free: 372 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.273/0.4518, allocations: 1.217 MB / 456.3 MB, free: 51.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.421e-05/0.452, allocations: 3.25 kB / 456.3 MB, free: 51.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.393e-05/0.4521, allocations: 29.7 kB / 456.4 MB, free: 51.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/0.4522, allocations: 78.77 kB / 456.4 MB, free: 51.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.4541, allocations: 1.31 MB / 457.7 MB, free: 51.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005025/0.4591, allocations: 3.723 MB / 461.5 MB, free: 50.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.4609, allocations: 1.084 MB / 462.5 MB, free: 50.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008307/0.4617, allocations: 0.6367 MB / 463.2 MB, free: 49.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-05/0.4618, allocations: 24.83 kB / 463.2 MB, free: 49.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.4618, allocations: 42.42 kB / 463.2 MB, free: 49.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 4.117e-06/0.4619, allocations: 2.594 kB / 463.3 MB, free: 49.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=93): time 0.005756/0.4676, allocations: 3.107 MB / 466.4 MB, free: 48.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.4677, allocations: 95.89 kB / 466.5 MB, free: 48.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.4681, allocations: 370.5 kB / 466.8 MB, free: 48.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.4681, allocations: 40.8 kB / 466.9 MB, free: 48.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.4683, allocations: 332.6 kB / 467.2 MB, free: 48.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.4685, allocations: 319.8 kB / 467.5 MB, free: 47.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.4686, allocations: 19.31 kB / 467.5 MB, free: 47.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.4687, allocations: 368.2 kB / 467.9 MB, free: 47.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000563/0.4692, allocations: 460.2 kB / 468.3 MB, free: 47.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006454/0.4699, allocations: 0.5709 MB / 468.9 MB, free: 47.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006675/0.4706, allocations: 0.546 MB / 469.4 MB, free: 46.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4706, allocations: 0 / 469.4 MB, free: 46.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002032/0.4726, allocations: 1.471 MB / 470.9 MB, free: 46.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.4727, allocations: 10.17 kB / 470.9 MB, free: 46.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.4727, allocations: 3.031 kB / 470.9 MB, free: 46.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008051/0.4735, allocations: 332 kB / 471.2 MB, free: 46.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006231/0.4741, allocations: 186.7 kB / 471.4 MB, free: 46.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004174/0.4783, allocations: 3.866 MB / 475.3 MB, free: 43.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004539/0.4788, allocations: 51.41 kB / 475.3 MB, free: 43.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-05/0.4789, allocations: 35.8 kB / 475.4 MB, free: 43.81 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.0003969/0.4793, allocations: 298.5 kB / 475.7 MB, free: 43.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.923e-05/0.4794, allocations: 69.7 kB / 475.7 MB, free: 43.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002244/0.4816, allocations: 1.544 MB / 477.3 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.4816, allocations: 9.906 kB / 477.3 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4817, allocations: 6.031 kB / 477.3 MB, free: 42.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.4817, allocations: 8.375 kB / 477.3 MB, free: 42.98 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.004045/0.4857, allocations: 3 MB / 480.3 MB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.4857, allocations: 3.812 kB / 480.3 MB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005324/0.4863, allocations: 172.8 kB / 480.5 MB, free: 41.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006825/0.487, allocations: 278.7 kB / 480.7 MB, free: 41.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.949e-05/0.487, allocations: 37.2 kB / 480.8 MB, free: 41.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003877/0.4909, allocations: 3.595 MB / 484.4 MB, free: 39.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4909, allocations: 6.953 kB / 484.4 MB, free: 39.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.4929, allocations: 1.568 MB / 486 MB, free: 38.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.4931, allocations: 148.7 kB / 486.1 MB, free: 38.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.177e-05/0.4932, allocations: 20.81 kB / 486.1 MB, free: 38.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003755/0.4936, allocations: 46.45 kB / 486.2 MB, free: 38.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.4937, allocations: 76.48 kB / 486.2 MB, free: 38.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.495e-05/0.4938, allocations: 39.22 kB / 486.3 MB, free: 38.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000256/0.4941, allocations: 261.1 kB / 486.5 MB, free: 38.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.022e-06/0.4941, allocations: 0 / 486.5 MB, free: 38.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009752/0.495, allocations: 312.8 kB / 486.8 MB, free: 38.12 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.002829/0.4979, allocations: 2.133 MB / 489 MB, free: 36.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002667/0.5006, allocations: 1.39 MB / 490.4 MB, free: 36.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.5006, allocations: 0 / 490.4 MB, free: 36.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.5019, allocations: 0.8377 MB / 491.2 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008462/0.5027, allocations: 110.3 kB / 491.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007818/0.5106, allocations: 5.266 MB / 496.6 MB, free: 33.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006953/0.5113, allocations: 1.082 MB / 497.7 MB, free: 32.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004915/0.5118, allocations: 183.1 kB / 497.8 MB, free: 32.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003671/0.5122, allocations: 269.8 kB / 498.1 MB, free: 32.38 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5122, allocations: 4 kB / 498.1 MB, free: 32.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03636/0.5485, allocations: 15.12 MB / 0.5012 GB, free: 28.28 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/0.5488, allocations: 207.8 kB / 0.5014 GB, free: 28.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/2.589, allocations: 4 kB / 0.5014 GB, free: 28.04 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Network_NetworkOpened.fmu > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) Environment - environmentSimulation: