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.001315/0.001315, allocations: 110.9 kB / 16.51 MB, free: 6.715 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.001249/0.001249, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.432/1.432, allocations: 205.1 MB / 223.3 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.167/0.167, allocations: 37.98 MB / 308.6 MB, free: 6.242 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.001336/0.001336, allocations: 71.39 kB / 374.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2446, allocations: 55.25 MB / 430 MB, free: 19.76 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.005835/0.2505, allocations: 8.089 MB / 438.1 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004728/0.2552, allocations: 4.955 MB / 443 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000668/0.2559, allocations: 23.88 kB / 443 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002246/0.2582, allocations: 1.028 MB / 444.1 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002966/0.2612, allocations: 1.196 MB / 445.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.2623, allocations: 335.2 kB / 445.6 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002528/0.2649, allocations: 2.686 MB / 448.3 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009009/0.2658, allocations: 0.6731 MB / 448.9 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.2668, allocations: 0.5327 MB / 449.5 MB, free: 184 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.2683, allocations: 0.7633 MB / 450.2 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002453/0.2685, allocations: 52 kB / 450.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003263/0.2718, allocations: 1.722 MB / 452 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006038/0.2724, allocations: 490.8 kB / 452.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008036/0.2732, allocations: 441.8 kB / 452.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00246/0.2757, allocations: 1.613 MB / 454.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2757, allocations: 3.938 kB / 454.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.2757, allocations: 0 / 454.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.2758, allocations: 0 / 454.5 MB, free: 11.1 MB / 334.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.001439/0.2772, allocations: 1.163 MB / 455.7 MB, free: 9.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.2772, allocations: 11.97 kB / 455.7 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001273/0.2774, allocations: 131.4 kB / 455.8 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003108/0.2805, allocations: 407.4 kB / 456.2 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006573/0.2812, allocations: 0.4914 MB / 456.7 MB, free: 8.809 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.2812, allocations: 54.31 kB / 456.8 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.2813, allocations: 76.36 kB / 456.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.2831, allocations: 1.23 MB / 458.1 MB, free: 7.426 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.2831, allocations: 4 kB / 458.1 MB, free: 7.422 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-05/0.2832, allocations: 31.92 kB / 458.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.263e-05/0.2833, allocations: 77.95 kB / 458.2 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/0.2852, allocations: 1.315 MB / 459.5 MB, free: 6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005282/0.2905, allocations: 3.7 MB / 463.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.2921, allocations: 1.089 MB / 464.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000778/0.2929, allocations: 0.637 MB / 464.9 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-05/0.293, allocations: 25.06 kB / 465 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.293, allocations: 51.5 kB / 465 MB, free: 364 kB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 2.785e-06/0.2931, allocations: 0 / 465 MB, free: 364 kB / 334.1 MB Notification: Performance of matching and sorting (n=93): time 0.006253/0.2993, allocations: 3.149 MB / 468.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.2994, allocations: 86.11 kB / 468.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003506/0.2997, allocations: 377.5 kB / 468.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.2998, allocations: 37.7 kB / 468.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.3, allocations: 332 kB / 469 MB, free: 12.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/0.3002, allocations: 311.4 kB / 469.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.3004, allocations: 162.5 kB / 469.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3006, allocations: 374.8 kB / 469.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006071/0.3012, allocations: 469.7 kB / 470.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006821/0.3019, allocations: 0.5704 MB / 470.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.3033, allocations: 1.114 MB / 472 MB, free: 9.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.3033, allocations: 4 kB / 472 MB, free: 9.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002232/0.3055, allocations: 1.477 MB / 473.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.3055, allocations: 8 kB / 473.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.3056, allocations: 0 / 473.4 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008945/0.3065, allocations: 344.8 kB / 473.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006409/0.3071, allocations: 179.7 kB / 474 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004513/0.3116, allocations: 3.853 MB / 477.8 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/0.3121, allocations: 51.88 kB / 477.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.137e-05/0.3122, allocations: 35.98 kB / 477.9 MB, free: 3.152 MB / 350.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003926/0.3126, allocations: 301.6 kB / 478.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.3127, allocations: 67.23 kB / 478.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/0.3152, allocations: 1.547 MB / 479.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.3152, allocations: 12 kB / 479.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.3152, allocations: 7.938 kB / 479.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.3152, allocations: 3.984 kB / 479.8 MB, free: 1.199 MB / 350.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.004511/0.3197, allocations: 3.009 MB / 482.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.3198, allocations: 4 kB / 482.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005772/0.3204, allocations: 167.7 kB / 483 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000743/0.3211, allocations: 285 kB / 483.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/0.3212, allocations: 27.98 kB / 483.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004234/0.3254, allocations: 3.6 MB / 486.9 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.3254, allocations: 7.938 kB / 486.9 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/0.3277, allocations: 1.576 MB / 488.5 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.3278, allocations: 144.3 kB / 488.6 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.52e-05/0.3279, allocations: 24 kB / 488.7 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.3283, allocations: 39.95 kB / 488.7 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.3285, allocations: 88.77 kB / 488.8 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.346e-05/0.3286, allocations: 32 kB / 488.8 MB, free: 7.848 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002841/0.3289, allocations: 271.1 kB / 489.1 MB, free: 7.582 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3289, allocations: 0 / 489.1 MB, free: 7.582 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009146/0.3298, allocations: 312 kB / 489.4 MB, free: 7.277 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002464/0.3323, allocations: 2.141 MB / 491.5 MB, free: 5.066 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002047/0.3343, allocations: 1.378 MB / 492.9 MB, free: 3.676 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.3343, allocations: 0 / 492.9 MB, free: 3.676 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.3355, allocations: 0.8446 MB / 493.7 MB, free: 2.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007025/0.3362, allocations: 110.4 kB / 493.9 MB, free: 2.719 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.3473, allocations: 8.064 MB / 0.4902 GB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006713/0.348, allocations: 1.083 MB / 0.4912 GB, free: 9.293 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004457/0.3485, allocations: 180.7 kB / 0.4914 GB, free: 9.113 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003651/0.3489, allocations: 279.3 kB / 0.4917 GB, free: 8.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3489, allocations: 0 / 0.4917 GB, free: 8.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.3762, allocations: 15.69 MB / 0.507 GB, free: 9.141 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/0.3764, allocations: 219.9 kB / 0.5072 GB, free: 8.887 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/2.387, allocations: 11.88 kB / 0.5072 GB, free: 8.875 MB / 398.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/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)