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.001039/0.001039, allocations: 91.84 kB / 16.3 MB, free: 5.996 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.001226/0.001226, allocations: 187.2 kB / 17.2 MB, free: 5.91 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.57/1.57, allocations: 205.4 MB / 223.4 MB, free: 5.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3228/0.3228, allocations: 38.03 MB / 309.7 MB, free: 8.766 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.0007407/0.000741, allocations: 12 kB / 376.6 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1235, allocations: 56.34 MB / 432.9 MB, free: 6.746 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.009471/0.133, allocations: 9.308 MB / 442.2 MB, free: 13.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006479/0.1396, allocations: 3.547 MB / 445.8 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.1408, allocations: 71.5 kB / 445.8 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008695/0.1417, allocations: 298.2 kB / 446.1 MB, free: 9.48 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/AC3ph/Sensors.mo:213:5-214:73:writable] Warning: Conditional component ‘v_abc‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.001956/0.1437, allocations: 0.623 MB / 446.8 MB, free: 8.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.1456, allocations: 0.7132 MB / 447.5 MB, free: 8.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.1469, allocations: 0.8316 MB / 448.3 MB, free: 7.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002092/0.149, allocations: 1.317 MB / 449.6 MB, free: 5.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008403/0.1499, allocations: 0.5138 MB / 450.1 MB, free: 5.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008691/0.1507, allocations: 0.6349 MB / 450.8 MB, free: 4.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.1509, allocations: 56 kB / 450.8 MB, free: 4.734 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006776/0.1515, allocations: 295.5 kB / 451.1 MB, free: 4.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004821/0.152, allocations: 0.5612 MB / 451.7 MB, free: 3.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002634/0.1523, allocations: 265 kB / 451.9 MB, free: 3.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.1536, allocations: 1.317 MB / 453.3 MB, free: 2.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1536, allocations: 0 / 453.3 MB, free: 2.297 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1536, allocations: 0 / 453.3 MB, free: 2.297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.1536, allocations: 4 kB / 453.3 MB, free: 2.293 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.002448/0.1561, allocations: 1.412 MB / 454.7 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1561, allocations: 8.031 kB / 454.7 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002236/0.1564, allocations: 198.2 kB / 454.9 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.158, allocations: 286 kB / 455.1 MB, free: 340 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1875/0.3455, allocations: 0.8096 MB / 456 MB, free: 50.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-05/0.3456, allocations: 90.7 kB / 456 MB, free: 50.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002816/0.3459, allocations: 155.6 kB / 456.2 MB, free: 50.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.3478, allocations: 1.825 MB / 458 MB, free: 50.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/0.3478, allocations: 10.78 kB / 458 MB, free: 50.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-05/0.3479, allocations: 52.67 kB / 458.1 MB, free: 50.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002577/0.3482, allocations: 102.6 kB / 458.2 MB, free: 50.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.35, allocations: 1.47 MB / 459.7 MB, free: 50.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007396/0.3574, allocations: 8.285 MB / 467.9 MB, free: 45.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.3584, allocations: 1.153 MB / 469.1 MB, free: 44.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.033e-05/0.3585, allocations: 19.08 kB / 469.1 MB, free: 44.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.3585, allocations: 42.22 kB / 469.2 MB, free: 44.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 2.575e-06/0.3585, allocations: 4 kB / 469.2 MB, free: 44.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.003344/0.3619, allocations: 2.393 MB / 471.6 MB, free: 43.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.3619, allocations: 84.27 kB / 471.6 MB, free: 42.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007178/0.3627, allocations: 0.8151 MB / 472.4 MB, free: 42.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.3627, allocations: 40.77 kB / 472.5 MB, free: 42.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003202/0.363, allocations: 0.6832 MB / 473.2 MB, free: 42.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/0.3632, allocations: 305.3 kB / 473.5 MB, free: 41.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.984e-05/0.3633, allocations: 33.28 kB / 473.5 MB, free: 41.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.3634, allocations: 411.2 kB / 473.9 MB, free: 41.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005316/0.364, allocations: 445.8 kB / 474.3 MB, free: 41.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006997/0.3647, allocations: 0.9819 MB / 475.3 MB, free: 40.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007344/0.3654, allocations: 0.6338 MB / 476 MB, free: 40.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.3654, allocations: 4.812 kB / 476 MB, free: 40.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002408/0.3678, allocations: 1.741 MB / 477.7 MB, free: 39.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.3679, allocations: 15.97 kB / 477.7 MB, free: 39.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001363/0.3692, allocations: 0.9675 MB / 478.7 MB, free: 39.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000791/0.37, allocations: 254.4 kB / 478.9 MB, free: 39.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009561/0.371, allocations: 309.2 kB / 479.2 MB, free: 39.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003398/0.3744, allocations: 4.863 MB / 484.1 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007748/0.3752, allocations: 61.03 kB / 484.2 MB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.237e-05/0.3753, allocations: 64.98 kB / 484.2 MB, free: 34.8 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005148/0.3758, allocations: 437.3 kB / 484.6 MB, free: 34.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.3759, allocations: 96.78 kB / 484.7 MB, free: 34.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.3772, allocations: 0.9365 MB / 485.7 MB, free: 34.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.3773, allocations: 10.59 kB / 485.7 MB, free: 34.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.3773, allocations: 3.156 kB / 485.7 MB, free: 34.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.3773, allocations: 7.828 kB / 485.7 MB, free: 34.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002882/0.3802, allocations: 2.101 MB / 487.8 MB, free: 33.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3802, allocations: 3.953 kB / 487.8 MB, free: 33.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008251/0.381, allocations: 190.3 kB / 488 MB, free: 33.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.381, allocations: 10.53 kB / 488 MB, free: 33.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/0.3811, allocations: 32.5 kB / 488 MB, free: 33.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.3811, allocations: 2.938 kB / 488 MB, free: 33.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3811, allocations: 2.938 kB / 488 MB, free: 33.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.3825, allocations: 1.459 MB / 489.5 MB, free: 32.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.3827, allocations: 162.7 kB / 489.7 MB, free: 32.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.3829, allocations: 20.16 kB / 489.7 MB, free: 32.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.3832, allocations: 25.8 kB / 489.7 MB, free: 32.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.525e-05/0.3833, allocations: 50 kB / 489.7 MB, free: 32.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.3834, allocations: 24.77 kB / 489.8 MB, free: 32.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005073/0.3839, allocations: 0.5386 MB / 490.3 MB, free: 31.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3839, allocations: 4 kB / 490.3 MB, free: 31.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001003/0.3849, allocations: 296.6 kB / 490.6 MB, free: 31.94 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001579/0.3865, allocations: 2.503 MB / 493.1 MB, free: 30.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001837/0.3883, allocations: 1.44 MB / 494.5 MB, free: 29.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3884, allocations: 0 / 494.5 MB, free: 29.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004948/0.3889, allocations: 398.5 kB / 494.9 MB, free: 29.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006549/0.3895, allocations: 166.2 kB / 495.1 MB, free: 29.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.4007, allocations: 20.25 MB / 0.5033 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007646/0.4015, allocations: 1.271 MB / 0.5045 GB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001039/0.4025, allocations: 422.5 kB / 0.5049 GB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004585/0.403, allocations: 461.3 kB / 0.5054 GB, free: 11.12 MB / 382.1 MB Notification: Performance of SimCode: time 1.403e-06/0.403, allocations: 1.312 kB / 0.5054 GB, free: 11.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03783/0.4409, allocations: 19.95 MB / 0.5248 GB, free: 2.145 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/0.441, allocations: 205.2 kB / 0.525 GB, free: 1.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/2.469, allocations: 0 / 0.525 GB, free: 1.91 MB / 382.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/linux/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) Environment - environmentSimulation: