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.00184/0.00184, allocations: 111.1 kB / 20.44 MB, free: 1.34 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.002255/0.002255, allocations: 212.2 kB / 23.72 MB, free: 4.527 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.187/0.187, allocations: 38.56 MB / 352.5 MB, free: 12.32 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.002103/0.002103, allocations: 63.89 kB / 492.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3054, allocations: 62.47 MB / 0.542 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01052/0.316, allocations: 8.358 MB / 0.5501 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00633/0.3223, allocations: 2.871 MB / 0.5529 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008847/0.3232, allocations: 45.53 kB / 0.553 GB, free: 7.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003139/0.3263, allocations: 1.054 MB / 0.554 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.3286, allocations: 0.6355 MB / 0.5546 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00265/0.3312, allocations: 0.7446 MB / 0.5553 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002674/0.3339, allocations: 1.62 MB / 0.5569 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.335, allocations: 0.6942 MB / 0.5576 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.3364, allocations: 0.7549 MB / 0.5583 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.338, allocations: 1.005 MB / 0.5593 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.3381, allocations: 104 kB / 0.5594 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.3393, allocations: 0.4914 MB / 0.5599 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000727/0.34, allocations: 0.674 MB / 0.5606 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008313/0.3408, allocations: 0.591 MB / 0.5611 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002342/0.3432, allocations: 1.825 MB / 0.5629 GB, free: 14.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3432, allocations: 0 / 0.5629 GB, free: 14.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3432, allocations: 0 / 0.5629 GB, free: 14.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.314e-05/0.3432, allocations: 0 / 0.5629 GB, free: 14.74 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.003354/0.3466, allocations: 1.62 MB / 0.5645 GB, free: 13.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/0.3466, allocations: 11.98 kB / 0.5645 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002545/0.3469, allocations: 202.4 kB / 0.5647 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00239/0.3493, allocations: 387.6 kB / 0.5651 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/0.3511, allocations: 0.8233 MB / 0.5659 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-05/0.3512, allocations: 86.72 kB / 0.566 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003392/0.3515, allocations: 159.8 kB / 0.5661 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002933/0.3544, allocations: 1.854 MB / 0.5679 GB, free: 9.348 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.028e-05/0.3545, allocations: 7.938 kB / 0.5679 GB, free: 9.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.3546, allocations: 55.98 kB / 0.568 GB, free: 9.285 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003094/0.3549, allocations: 90.16 kB / 0.5681 GB, free: 9.195 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/0.3574, allocations: 1.491 MB / 0.5695 GB, free: 7.695 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009777/0.3671, allocations: 7.918 MB / 0.5773 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.3684, allocations: 0.6496 MB / 0.5779 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000729/0.3691, allocations: 456.2 kB / 0.5783 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.628e-05/0.3691, allocations: 16.58 kB / 0.5783 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/0.3692, allocations: 47.22 kB / 0.5784 GB, free: 14.26 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 3.767e-06/0.3692, allocations: 0 / 0.5784 GB, free: 14.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.004054/0.3732, allocations: 2.392 MB / 0.5807 GB, free: 11.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.3733, allocations: 93.64 kB / 0.5808 GB, free: 11.72 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.3743, allocations: 0.8562 MB / 0.5816 GB, free: 10.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.467e-05/0.3744, allocations: 33.7 kB / 0.5817 GB, free: 10.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000523/0.3749, allocations: 0.702 MB / 0.5824 GB, free: 10.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002727/0.3752, allocations: 321.4 kB / 0.5827 GB, free: 9.789 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003449/0.3755, allocations: 263.6 kB / 0.5829 GB, free: 9.527 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002352/0.3757, allocations: 414.7 kB / 0.5833 GB, free: 9.113 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006994/0.3764, allocations: 447.7 kB / 0.5837 GB, free: 8.676 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.3776, allocations: 1.005 MB / 0.5847 GB, free: 7.418 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002084/0.3797, allocations: 1.585 MB / 0.5863 GB, free: 5.574 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.3797, allocations: 11.94 kB / 0.5863 GB, free: 5.562 MB / 430.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00325/0.383, allocations: 1.756 MB / 0.588 GB, free: 3.789 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.383, allocations: 16 kB / 0.588 GB, free: 3.773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001815/0.3848, allocations: 0.9781 MB / 0.589 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.3858, allocations: 250.3 kB / 0.5892 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.3869, allocations: 311.5 kB / 0.5895 GB, free: 2.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004993/0.3918, allocations: 4.843 MB / 0.5942 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008154/0.3927, allocations: 59.88 kB / 0.5943 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.3928, allocations: 71.98 kB / 0.5944 GB, free: 12.91 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.0006131/0.3934, allocations: 426.8 kB / 0.5948 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.3935, allocations: 107.3 kB / 0.5949 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.3951, allocations: 0.9494 MB / 0.5958 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.3951, allocations: 15.94 kB / 0.5958 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.3951, allocations: 0 / 0.5958 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.3951, allocations: 3.984 kB / 0.5958 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003616/0.3987, allocations: 2.008 MB / 0.5978 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.3987, allocations: 4 kB / 0.5978 GB, free: 9.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008941/0.3996, allocations: 183.8 kB / 0.598 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.106e-06/0.3996, allocations: 4 kB / 0.598 GB, free: 9.137 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.371e-05/0.3997, allocations: 28.02 kB / 0.598 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/0.3997, allocations: 7.984 kB / 0.598 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3997, allocations: 4.188 kB / 0.598 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.4017, allocations: 1.418 MB / 0.5994 GB, free: 7.648 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.4019, allocations: 91.33 kB / 0.5995 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.402, allocations: 20 kB / 0.5995 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/0.4024, allocations: 23.98 kB / 0.5995 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.4025, allocations: 56.48 kB / 0.5996 GB, free: 7.461 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.925e-05/0.4026, allocations: 32 kB / 0.5996 GB, free: 7.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006926/0.4033, allocations: 0.538 MB / 0.6001 GB, free: 6.891 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4033, allocations: 0 / 0.6001 GB, free: 6.891 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001091/0.4044, allocations: 292.2 kB / 0.6004 GB, free: 6.605 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.002441/0.4068, allocations: 1.989 MB / 0.6023 GB, free: 4.566 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002397/0.4092, allocations: 1.412 MB / 0.6037 GB, free: 3.117 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.4092, allocations: 0 / 0.6037 GB, free: 3.117 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005944/0.4098, allocations: 391.4 kB / 0.6041 GB, free: 2.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009754/0.4108, allocations: 190.7 kB / 0.6043 GB, free: 2.555 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/0.4266, allocations: 10.33 MB / 0.6144 GB, free: 7.535 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008636/0.4274, allocations: 0.6538 MB / 0.615 GB, free: 6.844 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001002/0.4284, allocations: 412.7 kB / 0.6154 GB, free: 6.438 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006598/0.4291, allocations: 467.3 kB / 0.6158 GB, free: 5.98 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4291, allocations: 0 / 0.6158 GB, free: 5.98 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09734/0.5264, allocations: 22.56 MB / 0.6379 GB, free: 15.67 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.48, allocations: 6.469 kB / 0.6379 GB, free: 15.67 MB / 494.1 MB " [Timeout remaining time 645] (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: 17.365587251028046] Failed to read output from testmodel.py, exit status != 0: 14.602162208873779 14.630623735 14.282009019 Calling exit ...