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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001955/0.001955, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002539/0.002539, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1911/0.1911, allocations: 38.53 MB / 352.5 MB, free: 12.55 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002202/0.002202, allocations: 63.89 kB / 492.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3298, allocations: 62.48 MB / 0.542 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.0113/0.3411, allocations: 9.134 MB / 0.5509 GB, free: 9.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005922/0.347, allocations: 3.105 MB / 0.554 GB, free: 6.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.348, allocations: 45.03 kB / 0.554 GB, free: 6.719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003377/0.3514, allocations: 1.117 MB / 0.5551 GB, free: 5.852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002043/0.3534, allocations: 0.6311 MB / 0.5557 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002281/0.3557, allocations: 0.7507 MB / 0.5565 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002399/0.3581, allocations: 1.617 MB / 0.558 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.3593, allocations: 0.6935 MB / 0.5587 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00158/0.3609, allocations: 0.7549 MB / 0.5594 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.3627, allocations: 1.001 MB / 0.5604 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003103/0.363, allocations: 108 kB / 0.5605 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.3643, allocations: 0.5187 MB / 0.561 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008289/0.3651, allocations: 0.6778 MB / 0.5617 GB, free: 300 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.3663, allocations: 0.7036 MB / 0.5624 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002781/0.3691, allocations: 1.817 MB / 0.5642 GB, free: 13.76 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3691, allocations: 0 / 0.5642 GB, free: 13.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3691, allocations: 0 / 0.5642 GB, free: 13.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.625e-05/0.3691, allocations: 0 / 0.5642 GB, free: 13.76 MB / 414.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.003585/0.3727, allocations: 1.626 MB / 0.5657 GB, free: 12.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3727, allocations: 15.98 kB / 0.5658 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002688/0.373, allocations: 194.4 kB / 0.5659 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002193/0.3752, allocations: 391.6 kB / 0.5663 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/0.3771, allocations: 0.8116 MB / 0.5671 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.314e-05/0.3772, allocations: 90.7 kB / 0.5672 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003415/0.3775, allocations: 147.9 kB / 0.5673 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002836/0.3803, allocations: 1.854 MB / 0.5691 GB, free: 8.387 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.754e-05/0.3804, allocations: 15.83 kB / 0.5692 GB, free: 8.371 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.3805, allocations: 52 kB / 0.5692 GB, free: 8.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003051/0.3808, allocations: 98.16 kB / 0.5693 GB, free: 8.223 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00253/0.3833, allocations: 1.491 MB / 0.5708 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01057/0.3939, allocations: 8.187 MB / 0.5788 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.3952, allocations: 0.67 MB / 0.5794 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007176/0.3959, allocations: 452.2 kB / 0.5798 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-05/0.396, allocations: 12.66 kB / 0.5799 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.3961, allocations: 43.2 kB / 0.5799 GB, free: 13.01 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.825e-06/0.3961, allocations: 0 / 0.5799 GB, free: 13.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.004374/0.4004, allocations: 2.4 MB / 0.5822 GB, free: 10.58 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.4005, allocations: 89.7 kB / 0.5823 GB, free: 10.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.4016, allocations: 0.8214 MB / 0.5831 GB, free: 9.637 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.226e-05/0.4017, allocations: 41.7 kB / 0.5832 GB, free: 9.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006178/0.4023, allocations: 0.7021 MB / 0.5839 GB, free: 8.879 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/0.4026, allocations: 317.4 kB / 0.5842 GB, free: 8.566 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003776/0.403, allocations: 259.4 kB / 0.5844 GB, free: 8.309 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002735/0.4033, allocations: 414.8 kB / 0.5848 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007491/0.404, allocations: 459.7 kB / 0.5852 GB, free: 7.445 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.4053, allocations: 1.001 MB / 0.5862 GB, free: 6.191 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002235/0.4075, allocations: 1.588 MB / 0.5878 GB, free: 4.344 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/0.4075, allocations: 8 kB / 0.5878 GB, free: 4.336 MB / 430.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003388/0.4109, allocations: 1.76 MB / 0.5895 GB, free: 2.559 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.4109, allocations: 12 kB / 0.5895 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001888/0.4128, allocations: 0.9859 MB / 0.5905 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009338/0.4138, allocations: 246.3 kB / 0.5907 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.4148, allocations: 315.4 kB / 0.591 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005364/0.4202, allocations: 4.87 MB / 0.5958 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008872/0.4211, allocations: 55.92 kB / 0.5958 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.4212, allocations: 71.98 kB / 0.5959 GB, free: 11.65 MB / 446.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.0007123/0.4219, allocations: 425.1 kB / 0.5963 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/0.4221, allocations: 103.4 kB / 0.5964 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.4238, allocations: 0.9532 MB / 0.5973 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.4238, allocations: 11.94 kB / 0.5973 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4238, allocations: 3.984 kB / 0.5973 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/0.4238, allocations: 3.984 kB / 0.5973 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003964/0.4278, allocations: 2.09 MB / 0.5994 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.4278, allocations: 8.031 kB / 0.5994 GB, free: 7.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009377/0.4287, allocations: 183.8 kB / 0.5996 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.4287, allocations: 4 kB / 0.5996 GB, free: 7.793 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.754e-05/0.4288, allocations: 20 kB / 0.5996 GB, free: 7.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/0.4288, allocations: 7.984 kB / 0.5996 GB, free: 7.766 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4288, allocations: 7.938 kB / 0.5996 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.4308, allocations: 1.41 MB / 0.601 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.431, allocations: 91.33 kB / 0.6011 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.4312, allocations: 20.19 kB / 0.6011 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.4315, allocations: 31.98 kB / 0.6011 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.4317, allocations: 56.42 kB / 0.6012 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.178e-05/0.4317, allocations: 28 kB / 0.6012 GB, free: 6.094 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007502/0.4325, allocations: 0.538 MB / 0.6017 GB, free: 5.555 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4325, allocations: 0 / 0.6017 GB, free: 5.555 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001155/0.4336, allocations: 296 kB / 0.602 GB, free: 5.266 MB / 446.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.002532/0.4361, allocations: 1.977 MB / 0.6039 GB, free: 3.238 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002604/0.4387, allocations: 1.408 MB / 0.6053 GB, free: 1.793 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4388, allocations: 0 / 0.6053 GB, free: 1.793 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006029/0.4394, allocations: 387.4 kB / 0.6057 GB, free: 1.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.4404, allocations: 198.7 kB / 0.6059 GB, free: 1.227 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/0.4554, allocations: 10.35 MB / 0.616 GB, free: 6.191 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.4564, allocations: 1.247 MB / 0.6172 GB, free: 4.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001016/0.4574, allocations: 420.7 kB / 0.6176 GB, free: 4.496 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006315/0.4581, allocations: 463.3 kB / 0.618 GB, free: 4.043 MB / 462.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4581, allocations: 0 / 0.618 GB, free: 4.043 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06429/0.5224, allocations: 22.13 MB / 0.6396 GB, free: 14.08 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.09, allocations: 5.781 kB / 0.6396 GB, free: 14.08 MB / 494.1 MB " [Timeout remaining time 646] (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 --stepSize=0.18 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.931335523026064] Failed to read output from testmodel.py, exit status != 0: 14.215427675051615 14.235805488 13.863228487 Calling exit ...