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.0008735/0.0008734, allocations: 85.88 kB / 16.31 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.0007978/0.0007979, allocations: 180.6 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.749/1.749, allocations: 205.4 MB / 223.4 MB, free: 5.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3516/0.3516, allocations: 38.06 MB / 309.7 MB, free: 8.895 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.0005103/0.0005103, allocations: 14.34 kB / 376.6 MB, free: 15.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1247, allocations: 56.33 MB / 433 MB, free: 6.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01001/0.1348, allocations: 9.805 MB / 442.8 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006349/0.1412, allocations: 3.515 MB / 446.3 MB, free: 9.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.1427, allocations: 75.44 kB / 446.4 MB, free: 9.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009413/0.1437, allocations: 313.8 kB / 446.7 MB, free: 8.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00198/0.1457, allocations: 0.7307 MB / 447.4 MB, free: 8.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.1481, allocations: 0.7096 MB / 448.1 MB, free: 7.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003314/0.1514, allocations: 1.945 MB / 450 MB, free: 5.457 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00251/0.1539, allocations: 1.332 MB / 451.4 MB, free: 4.074 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.1552, allocations: 0.5911 MB / 452 MB, free: 3.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001685/0.1569, allocations: 0.9114 MB / 452.9 MB, free: 2.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.1571, allocations: 52 kB / 452.9 MB, free: 2.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008934/0.158, allocations: 323.5 kB / 453.2 MB, free: 2.199 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006036/0.1586, allocations: 0.6118 MB / 453.9 MB, free: 1.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004194/0.159, allocations: 265 kB / 454.1 MB, free: 1.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.1606, allocations: 1.317 MB / 455.4 MB, free: 0 / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1606, allocations: 0 / 455.4 MB, free: 0 / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1606, allocations: 0 / 455.4 MB, free: 0 / 382.1 MB Notification: Performance of Transformations before backend: time 3.312e-05/0.1606, allocations: 0 / 455.4 MB, free: 0 / 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.2179/0.3785, allocations: 1.415 MB / 456.8 MB, free: 51.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.3786, allocations: 9.719 kB / 456.9 MB, free: 51.71 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002392/0.3789, allocations: 190.8 kB / 457 MB, free: 51.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.3803, allocations: 277.3 kB / 457.3 MB, free: 51.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.3816, allocations: 0.8143 MB / 458.1 MB, free: 51.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.104e-05/0.3816, allocations: 86.23 kB / 458.2 MB, free: 51.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002787/0.3819, allocations: 152.2 kB / 458.4 MB, free: 51.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/0.3841, allocations: 1.842 MB / 460.2 MB, free: 50.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.811e-05/0.3842, allocations: 10.53 kB / 460.2 MB, free: 50.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.706e-05/0.3843, allocations: 50.75 kB / 460.3 MB, free: 50.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002306/0.3845, allocations: 102.9 kB / 460.4 MB, free: 50.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/0.3864, allocations: 1.477 MB / 461.8 MB, free: 50.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00726/0.3937, allocations: 8.297 MB / 470.1 MB, free: 45.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.3948, allocations: 1.161 MB / 471.3 MB, free: 44.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005248/0.3953, allocations: 484.5 kB / 471.8 MB, free: 44.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.54e-05/0.3954, allocations: 21.7 kB / 471.8 MB, free: 44.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.3954, allocations: 42.22 kB / 471.8 MB, free: 44.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 3.286e-06/0.3954, allocations: 0 / 471.8 MB, free: 44.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=83): time 0.00313/0.3986, allocations: 2.424 MB / 474.3 MB, free: 43.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.3986, allocations: 98.58 kB / 474.4 MB, free: 42.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007049/0.3993, allocations: 0.8151 MB / 475.2 MB, free: 42.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.3994, allocations: 40.92 kB / 475.2 MB, free: 42.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/0.3997, allocations: 0.6867 MB / 475.9 MB, free: 42.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000154/0.3998, allocations: 301.9 kB / 476.2 MB, free: 41.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.933e-05/0.3999, allocations: 26.53 kB / 476.2 MB, free: 41.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.4, allocations: 420.6 kB / 476.6 MB, free: 41.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005305/0.4006, allocations: 443 kB / 477.1 MB, free: 41.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006962/0.4013, allocations: 1.001 MB / 478.1 MB, free: 40.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007148/0.402, allocations: 0.6394 MB / 478.7 MB, free: 40.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.402, allocations: 3.062 kB / 478.7 MB, free: 40.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00241/0.4044, allocations: 1.758 MB / 480.5 MB, free: 39.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.4044, allocations: 15.25 kB / 480.5 MB, free: 39.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001378/0.4058, allocations: 0.9833 MB / 481.5 MB, free: 39.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007422/0.4066, allocations: 245.8 kB / 481.7 MB, free: 39.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008779/0.4075, allocations: 313.6 kB / 482 MB, free: 39.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003351/0.4108, allocations: 4.787 MB / 486.8 MB, free: 34.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007754/0.4116, allocations: 58.89 kB / 486.9 MB, free: 34.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.593e-05/0.4117, allocations: 69.02 kB / 486.9 MB, free: 34.77 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.0005885/0.4123, allocations: 424 kB / 487.3 MB, free: 34.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.4125, allocations: 103.3 kB / 487.4 MB, free: 34.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.4138, allocations: 0.957 MB / 488.4 MB, free: 34.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.4138, allocations: 12.61 kB / 488.4 MB, free: 34.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.4138, allocations: 0 / 488.4 MB, free: 34.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.4138, allocations: 7.562 kB / 488.4 MB, free: 34.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/0.4169, allocations: 2.12 MB / 490.5 MB, free: 33.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.4169, allocations: 3.812 kB / 490.5 MB, free: 33.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007854/0.4177, allocations: 186.3 kB / 490.7 MB, free: 33.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.4177, allocations: 6.062 kB / 490.7 MB, free: 33.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-05/0.4178, allocations: 21.39 kB / 490.7 MB, free: 33.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.4178, allocations: 11.03 kB / 490.8 MB, free: 33.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4178, allocations: 3.031 kB / 490.8 MB, free: 33.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.4193, allocations: 1.401 MB / 492.2 MB, free: 32.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.4195, allocations: 165.8 kB / 492.3 MB, free: 32.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.4196, allocations: 24.05 kB / 492.3 MB, free: 32.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.42, allocations: 19.22 kB / 492.4 MB, free: 32.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.705e-05/0.4201, allocations: 54.62 kB / 492.4 MB, free: 32.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-05/0.4201, allocations: 31.56 kB / 492.4 MB, free: 32.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005112/0.4206, allocations: 0.5391 MB / 493 MB, free: 32.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4206, allocations: 3.188 kB / 493 MB, free: 32.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001105/0.4217, allocations: 293.7 kB / 493.3 MB, free: 32.04 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.001983/0.4237, allocations: 1.958 MB / 495.2 MB, free: 30.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002216/0.426, allocations: 1.453 MB / 496.7 MB, free: 30.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.426, allocations: 1.75 kB / 496.7 MB, free: 30.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005296/0.4265, allocations: 411.7 kB / 497.1 MB, free: 30.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009288/0.4275, allocations: 179.9 kB / 497.3 MB, free: 29.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.4385, allocations: 7.785 MB / 0.4932 GB, free: 25.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008362/0.4394, allocations: 1.249 MB / 0.4944 GB, free: 24.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001205/0.4406, allocations: 413.8 kB / 0.4948 GB, free: 24.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006361/0.4412, allocations: 462.3 kB / 0.4953 GB, free: 24.33 MB / 382.1 MB Notification: Performance of SimCode: time 1.273e-06/0.4413, allocations: 4.625 kB / 0.4953 GB, free: 24.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05262/0.4939, allocations: 20.04 MB / 0.5148 GB, free: 13.36 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.4941, allocations: 218.6 kB / 0.515 GB, free: 13.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/2.646, allocations: 3.938 kB / 0.5151 GB, free: 13.11 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: