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.001997/0.001997, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002351/0.002351, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.1868/0.1868, allocations: 38.53 MB / 352.5 MB, free: 12.54 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.002057/0.002057, allocations: 71.89 kB / 492.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3464, allocations: 62.47 MB / 0.542 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01436/0.3607, allocations: 9.133 MB / 0.5509 GB, free: 9.254 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006629/0.3674, allocations: 3.108 MB / 0.554 GB, free: 6.754 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.3685, allocations: 46.38 kB / 0.554 GB, free: 6.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003315/0.3718, allocations: 1.113 MB / 0.5551 GB, free: 5.867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.374, allocations: 0.6275 MB / 0.5557 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.3764, allocations: 0.7512 MB / 0.5564 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002464/0.3788, allocations: 1.621 MB / 0.558 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.3799, allocations: 0.6905 MB / 0.5587 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001551/0.3815, allocations: 0.751 MB / 0.5594 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.3831, allocations: 1.009 MB / 0.5604 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.3833, allocations: 111.9 kB / 0.5605 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.3845, allocations: 0.5032 MB / 0.561 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007073/0.3852, allocations: 0.6818 MB / 0.5617 GB, free: 296 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008522/0.386, allocations: 0.7075 MB / 0.5624 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002527/0.3886, allocations: 1.821 MB / 0.5642 GB, free: 13.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3886, allocations: 0 / 0.5642 GB, free: 13.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3886, allocations: 0 / 0.5642 GB, free: 13.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.3e-05/0.3886, allocations: 0 / 0.5642 GB, free: 13.75 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.003236/0.3918, allocations: 1.622 MB / 0.5657 GB, free: 12.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.3919, allocations: 11.98 kB / 0.5657 GB, free: 12.08 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002572/0.3921, allocations: 198.4 kB / 0.5659 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002351/0.3945, allocations: 391.6 kB / 0.5663 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001825/0.3963, allocations: 0.8155 MB / 0.5671 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.622e-05/0.3964, allocations: 90.72 kB / 0.5672 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003608/0.3968, allocations: 151.8 kB / 0.5673 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/0.3996, allocations: 1.854 MB / 0.5691 GB, free: 8.371 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.184e-05/0.3996, allocations: 11.88 kB / 0.5692 GB, free: 8.359 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.3997, allocations: 55.98 kB / 0.5692 GB, free: 8.305 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002994/0.4, allocations: 98.14 kB / 0.5693 GB, free: 8.207 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002472/0.4025, allocations: 1.495 MB / 0.5708 GB, free: 6.703 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01/0.4125, allocations: 8.183 MB / 0.5788 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.4137, allocations: 0.67 MB / 0.5794 GB, free: 13.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000689/0.4144, allocations: 444.2 kB / 0.5798 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.939e-05/0.4145, allocations: 20.62 kB / 0.5799 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.4145, allocations: 43.22 kB / 0.5799 GB, free: 13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.494e-06/0.4145, allocations: 0 / 0.5799 GB, free: 13 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.004053/0.4186, allocations: 2.396 MB / 0.5822 GB, free: 10.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/0.4186, allocations: 89.7 kB / 0.5823 GB, free: 10.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.4196, allocations: 0.8214 MB / 0.5831 GB, free: 9.625 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.068e-05/0.4197, allocations: 41.7 kB / 0.5832 GB, free: 9.578 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000535/0.4202, allocations: 0.7021 MB / 0.5839 GB, free: 8.867 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002858/0.4205, allocations: 313.4 kB / 0.5841 GB, free: 8.559 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000344/0.4209, allocations: 263.4 kB / 0.5844 GB, free: 8.297 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.4211, allocations: 418.8 kB / 0.5848 GB, free: 7.879 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007181/0.4218, allocations: 451.7 kB / 0.5852 GB, free: 7.438 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.423, allocations: 1.001 MB / 0.5862 GB, free: 6.184 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.4251, allocations: 1.589 MB / 0.5878 GB, free: 4.336 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.4252, allocations: 4 kB / 0.5878 GB, free: 4.332 MB / 430.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003419/0.4286, allocations: 1.764 MB / 0.5895 GB, free: 2.551 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.4286, allocations: 12 kB / 0.5895 GB, free: 2.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001865/0.4305, allocations: 0.9821 MB / 0.5905 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009202/0.4314, allocations: 250.3 kB / 0.5907 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.4325, allocations: 311.5 kB / 0.591 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005274/0.4378, allocations: 4.874 MB / 0.5958 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008866/0.4387, allocations: 51.94 kB / 0.5958 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.4388, 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.0007783/0.4396, allocations: 433.1 kB / 0.5963 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.4398, allocations: 103.3 kB / 0.5964 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/0.4414, allocations: 0.9493 MB / 0.5973 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.4414, allocations: 15.94 kB / 0.5973 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.4414, allocations: 0 / 0.5973 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.4415, allocations: 4.172 kB / 0.5973 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004049/0.4455, allocations: 2.094 MB / 0.5994 GB, free: 7.973 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.4455, allocations: 3.984 kB / 0.5994 GB, free: 7.969 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009329/0.4464, allocations: 183.8 kB / 0.5996 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.4465, allocations: 8 kB / 0.5996 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-05/0.4465, allocations: 23.98 kB / 0.5996 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.908e-06/0.4465, allocations: 7.938 kB / 0.5996 GB, free: 7.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.4465, allocations: 4 kB / 0.5996 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.4486, allocations: 1.414 MB / 0.601 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/0.4488, allocations: 87.34 kB / 0.6011 GB, free: 6.215 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.449, allocations: 32.12 kB / 0.6011 GB, free: 6.184 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/0.4494, allocations: 23.98 kB / 0.6011 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.4495, allocations: 64.42 kB / 0.6012 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.075e-05/0.4496, allocations: 24 kB / 0.6012 GB, free: 6.074 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008443/0.4504, allocations: 0.5419 MB / 0.6017 GB, free: 5.531 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4504, allocations: 0 / 0.6017 GB, free: 5.531 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001104/0.4515, allocations: 292 kB / 0.602 GB, free: 5.246 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.002521/0.454, allocations: 1.97 MB / 0.6039 GB, free: 3.227 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002584/0.4566, allocations: 1.416 MB / 0.6053 GB, free: 1.773 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.4566, allocations: 0 / 0.6053 GB, free: 1.773 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006064/0.4572, allocations: 387.4 kB / 0.6057 GB, free: 1.391 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.4583, allocations: 190.2 kB / 0.6059 GB, free: 1.215 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/0.4759, allocations: 10.35 MB / 0.616 GB, free: 6.184 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/0.4774, allocations: 1.251 MB / 0.6172 GB, free: 4.898 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001708/0.4791, allocations: 412.7 kB / 0.6176 GB, free: 4.492 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009568/0.4801, allocations: 467.3 kB / 0.618 GB, free: 4.035 MB / 462.1 MB Notification: Performance of SimCode: time 1.041e-06/0.4801, allocations: 0 / 0.618 GB, free: 4.035 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09845/0.5785, allocations: 22.12 MB / 0.6396 GB, free: 14.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/13.89, allocations: 9.703 kB / 0.6396 GB, free: 14.07 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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.csv --start-time 0 --stop-time 180 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.18 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.856638963996375] Failed to read output from testmodel.py, exit status != 0: 14.01305237300403 14.043722808 13.649410789 Calling exit ...