Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",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.001154/0.001154, allocations: 110.2 kB / 16.51 MB, free: 6.707 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.001119/0.001119, 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.399/1.399, allocations: 205.1 MB / 223.3 MB, free: 12.39 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1697/0.1697, allocations: 37.99 MB / 308.6 MB, free: 6.219 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.001395/0.001395, allocations: 67.91 kB / 374.7 MB, free: 3.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2368, allocations: 55.24 MB / 430 MB, free: 19.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.007965/0.2448, allocations: 10.99 MB / 441 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005065/0.2499, allocations: 3.744 MB / 444.7 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.251, allocations: 75.5 kB / 444.8 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.2532, allocations: 1.019 MB / 445.8 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.2544, allocations: 0.5912 MB / 446.4 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001556/0.256, allocations: 0.6472 MB / 447 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.2576, allocations: 2.468 MB / 449.5 MB, free: 132 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.2589, allocations: 0.8808 MB / 450.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.2601, allocations: 0.6223 MB / 451 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.2614, allocations: 0.9853 MB / 452 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.2615, allocations: 72 kB / 452.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009498/0.2625, allocations: 467.2 kB / 452.5 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005854/0.2631, allocations: 0.6351 MB / 453.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007223/0.2638, allocations: 0.6684 MB / 453.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.2659, allocations: 1.744 MB / 455.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.2659, allocations: 7.922 kB / 455.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2659, allocations: 0 / 455.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.572e-05/0.2659, allocations: 0 / 455.6 MB, free: 10.02 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.003091/0.269, allocations: 1.65 MB / 457.2 MB, free: 8.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.2691, allocations: 8.031 kB / 457.2 MB, free: 8.305 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002051/0.2693, allocations: 198.4 kB / 457.4 MB, free: 8.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/0.2709, allocations: 271 kB / 457.7 MB, free: 7.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.2723, allocations: 0.8363 MB / 458.5 MB, free: 6.957 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.799e-05/0.2724, allocations: 86.72 kB / 458.6 MB, free: 6.871 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002911/0.2727, allocations: 155.9 kB / 458.8 MB, free: 6.719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/0.275, allocations: 1.85 MB / 460.6 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/0.2751, allocations: 15.78 kB / 460.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.2752, allocations: 55.98 kB / 460.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002758/0.2755, allocations: 98.16 kB / 460.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.2776, allocations: 1.491 MB / 462.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008264/0.2859, allocations: 8.296 MB / 470.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.2872, allocations: 1.158 MB / 471.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006353/0.2879, allocations: 496 kB / 472.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.187e-05/0.288, allocations: 20.64 kB / 472.2 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.288, allocations: 39.2 kB / 472.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 2.806e-06/0.288, allocations: 8 kB / 472.3 MB, free: 8.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=83): time 0.003595/0.2916, allocations: 2.433 MB / 474.7 MB, free: 6.039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.2917, allocations: 89.7 kB / 474.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007994/0.2925, allocations: 0.8174 MB / 475.6 MB, free: 5.109 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.953e-05/0.2926, allocations: 41.7 kB / 475.7 MB, free: 5.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000396/0.293, allocations: 0.6881 MB / 476.3 MB, free: 4.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.2932, allocations: 303.8 kB / 476.6 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002984/0.2935, allocations: 255.2 kB / 476.9 MB, free: 3.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.2936, allocations: 410.7 kB / 477.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006071/0.2943, allocations: 455.7 kB / 477.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009307/0.2952, allocations: 1.001 MB / 478.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.2969, allocations: 1.596 MB / 480.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.2969, allocations: 4 kB / 480.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002813/0.2998, allocations: 1.76 MB / 482.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.2998, allocations: 19.97 kB / 482.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001601/0.3014, allocations: 0.9959 MB / 483.1 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008207/0.3022, allocations: 246.3 kB / 483.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009229/0.3032, allocations: 311.5 kB / 483.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004044/0.3072, allocations: 4.798 MB / 488.5 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007229/0.308, allocations: 47.98 kB / 488.5 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.644e-05/0.3081, allocations: 71.98 kB / 488.6 MB, free: 7.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * 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 (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005521/0.3086, allocations: 433.1 kB / 489 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.3087, allocations: 98.72 kB / 489.1 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.3101, allocations: 0.9455 MB / 490 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.3102, allocations: 11.94 kB / 490 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.3102, allocations: 0 / 490 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/0.3102, allocations: 3.984 kB / 490.1 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003278/0.3135, allocations: 2.138 MB / 492.2 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3135, allocations: 0 / 492.2 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008308/0.3143, allocations: 183.8 kB / 492.4 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.3143, allocations: 8 kB / 492.4 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-05/0.3144, allocations: 20 kB / 492.4 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.3144, allocations: 15.92 kB / 492.4 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.3144, allocations: 3.938 kB / 492.4 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.3161, allocations: 1.401 MB / 493.8 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.3163, allocations: 163.9 kB / 494 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.3164, allocations: 20.09 kB / 494 MB, free: 1.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.3168, allocations: 35.86 kB / 494 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.985e-05/0.3169, allocations: 48.58 kB / 494.1 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/0.3169, allocations: 20 kB / 494.1 MB, free: 1.477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005988/0.3175, allocations: 0.5458 MB / 494.6 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.3175, allocations: 0 / 494.6 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001096/0.3186, allocations: 296 kB / 494.9 MB, free: 0.6445 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.i[3]) * 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 (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002135/0.3208, allocations: 1.976 MB / 496.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002274/0.3231, allocations: 1.462 MB / 498.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3231, allocations: 0 / 498.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005634/0.3237, allocations: 409 kB / 498.8 MB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.3247, allocations: 180.1 kB / 498.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/0.3395, allocations: 11.14 MB / 0.4981 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008099/0.3404, allocations: 1.243 MB / 0.4993 GB, free: 15.31 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001049/0.3414, allocations: 424.7 kB / 0.4998 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005316/0.342, allocations: 467.3 kB / 0.5002 GB, free: 14.43 MB / 398.1 MB Notification: Performance of SimCode: time 2.144e-06/0.342, allocations: 0 / 0.5002 GB, free: 14.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03379/0.3758, allocations: 19.88 MB / 0.5196 GB, free: 10.56 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/0.376, allocations: 227.2 kB / 0.5198 GB, free: 10.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/2.631, allocations: 0 / 0.5198 GB, free: 10.31 MB / 414.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability_fmu --startTime=0 --stopTime=180 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1)