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.001212/0.001212, allocations: 91.73 kB / 16.3 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.001291/0.001291, allocations: 185.4 kB / 17.2 MB, free: 6.34 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.321/1.321, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1696/0.1696, allocations: 38.04 MB / 309.7 MB, free: 6.137 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.000488/0.000488, allocations: 15.28 kB / 376.6 MB, free: 3.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2543, allocations: 56.32 MB / 432.9 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.00497/0.2593, allocations: 6.878 MB / 439.8 MB, free: 11.92 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004624/0.264, allocations: 4.398 MB / 444.2 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004632/0.2645, allocations: 19.88 kB / 444.2 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.2649, allocations: 159.1 kB / 444.4 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002069/0.2669, allocations: 0.6853 MB / 445 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008774/0.2678, allocations: 283.2 kB / 445.3 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007104/0.2686, allocations: 0.6158 MB / 445.9 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001756/0.2703, allocations: 1.147 MB / 447.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006431/0.271, allocations: 390.6 kB / 447.5 MB, free: 4.199 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003837/0.2714, allocations: 370.8 kB / 447.8 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.432e-05/0.2714, allocations: 32 kB / 447.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.273, allocations: 0.7406 MB / 448.6 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002719/0.2733, allocations: 411.2 kB / 449 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.2734, allocations: 177.3 kB / 449.2 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.2744, allocations: 1.083 MB / 450.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.2744, allocations: 0 / 450.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.2745, allocations: 0 / 450.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.2745, allocations: 8 kB / 450.3 MB, free: 1.387 MB / 318.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.00125/0.2757, allocations: 1.026 MB / 451.3 MB, free: 316 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.2758, allocations: 12.03 kB / 451.3 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.2759, allocations: 131.2 kB / 451.4 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00331/0.2792, allocations: 466.4 kB / 451.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007994/0.28, allocations: 478.2 kB / 452.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.2801, allocations: 57.98 kB / 452.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.2802, allocations: 71.98 kB / 452.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.282, allocations: 1.219 MB / 453.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.282, allocations: 4 kB / 453.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.622e-05/0.2821, allocations: 35.92 kB / 453.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001065/0.2822, allocations: 77.95 kB / 453.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.2842, allocations: 1.308 MB / 455.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005805/0.29, allocations: 3.731 MB / 458.9 MB, free: 8.555 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.2918, allocations: 1.078 MB / 459.9 MB, free: 7.457 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.467e-05/0.2919, allocations: 17.2 kB / 459.9 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.2919, allocations: 43.56 kB / 460 MB, free: 7.391 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 3.106e-06/0.2919, allocations: 0 / 460 MB, free: 7.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=93): time 0.007021/0.2989, allocations: 3.107 MB / 463.1 MB, free: 4.254 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.309e-05/0.2991, allocations: 98.22 kB / 463.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000459/0.2995, allocations: 373.5 kB / 463.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.2996, allocations: 37.7 kB / 463.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.2998, allocations: 328 kB / 463.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000295/0.3001, allocations: 311.4 kB / 464.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.3002, allocations: 20 kB / 464.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3004, allocations: 374.7 kB / 464.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006241/0.301, allocations: 461.7 kB / 465.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006901/0.3017, allocations: 0.5743 MB / 465.6 MB, free: 1.637 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007768/0.3025, allocations: 0.5378 MB / 466.2 MB, free: 1.102 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3025, allocations: 0 / 466.2 MB, free: 1.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002379/0.3049, allocations: 1.469 MB / 467.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.3049, allocations: 8 kB / 467.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3049, allocations: 0 / 467.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008914/0.3058, allocations: 344.7 kB / 468 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006675/0.3065, allocations: 187.7 kB / 468.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004839/0.3114, allocations: 3.962 MB / 472.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005155/0.3119, allocations: 43.95 kB / 472.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.186e-05/0.312, allocations: 35.98 kB / 472.2 MB, free: 10.89 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 (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.0004159/0.3124, allocations: 301.5 kB / 472.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.3125, allocations: 63.23 kB / 472.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002536/0.3151, allocations: 1.54 MB / 474.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.3151, allocations: 12 kB / 474.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3151, allocations: 4 kB / 474.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.3151, allocations: 3.984 kB / 474.1 MB, free: 8.949 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.004781/0.3199, allocations: 3.017 MB / 477.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.3199, allocations: 16 kB / 477.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005788/0.3205, allocations: 159.8 kB / 477.3 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007703/0.3213, allocations: 288.5 kB / 477.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.074e-05/0.3214, allocations: 27.98 kB / 477.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00471/0.3261, allocations: 3.689 MB / 481.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-05/0.3261, allocations: 7.938 kB / 481.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/0.3285, allocations: 1.742 MB / 483.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.3287, allocations: 140.3 kB / 483.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.467e-05/0.3287, allocations: 20 kB / 483.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/0.3292, allocations: 47.95 kB / 483.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.3293, allocations: 80.78 kB / 483.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-05/0.3294, allocations: 32 kB / 483.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002624/0.3296, allocations: 267.1 kB / 483.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.783e-06/0.3296, allocations: 0 / 483.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009566/0.3306, allocations: 315.9 kB / 483.9 MB, free: 14.68 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.002992/0.3336, allocations: 3.337 MB / 487.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.3356, allocations: 1.382 MB / 488.7 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3356, allocations: 4.062 kB / 488.7 MB, free: 9.816 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.3368, allocations: 0.836 MB / 489.5 MB, free: 8.969 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.3373, allocations: 83.03 kB / 489.6 MB, free: 8.891 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007901/0.3452, allocations: 6.759 MB / 496.3 MB, free: 1.973 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009161/0.3461, allocations: 1.105 MB / 497.4 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004317/0.3466, allocations: 180.7 kB / 497.6 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004588/0.347, allocations: 271.3 kB / 497.9 MB, free: 408 kB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.347, allocations: 0 / 497.9 MB, free: 408 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03277/0.3798, allocations: 15.09 MB / 0.501 GB, free: 1.344 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003521/0.3802, allocations: 210.5 kB / 0.5012 GB, free: 1.094 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/2.528, allocations: 3.938 kB / 0.5012 GB, free: 1.09 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: