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.001318/0.001318, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002406/0.002406, allocations: 210.6 kB / 23.73 MB, free: 4.387 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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1869/0.1869, allocations: 38.56 MB / 352.5 MB, free: 12.29 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.002138/0.002138, allocations: 67.89 kB / 492.5 MB, free: 4.656 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2918, allocations: 62.47 MB / 0.542 GB, free: 212 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.0108/0.3026, allocations: 8.36 MB / 0.5501 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005339/0.3079, allocations: 2.871 MB / 0.5529 GB, free: 7.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004288/0.3083, allocations: 45.47 kB / 0.553 GB, free: 7.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00273/0.311, allocations: 1.05 MB / 0.554 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.3123, allocations: 0.6352 MB / 0.5546 GB, free: 6.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.3142, allocations: 0.7365 MB / 0.5553 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001812/0.316, allocations: 1.628 MB / 0.5569 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009395/0.3169, allocations: 0.6875 MB / 0.5576 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.318, allocations: 0.7626 MB / 0.5583 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.3194, allocations: 0.9501 MB / 0.5593 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.3195, allocations: 104 kB / 0.5594 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009863/0.3205, allocations: 495.2 kB / 0.5598 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000651/0.3212, allocations: 0.6779 MB / 0.5605 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007199/0.3219, allocations: 0.5872 MB / 0.5611 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.3239, allocations: 1.829 MB / 0.5629 GB, free: 14.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3239, allocations: 7.938 kB / 0.5629 GB, free: 14.72 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3239, allocations: 0 / 0.5629 GB, free: 14.72 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.3239, allocations: 0 / 0.5629 GB, free: 14.72 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.003024/0.3269, allocations: 1.616 MB / 0.5644 GB, free: 13.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.327, allocations: 15.98 kB / 0.5645 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002383/0.3272, allocations: 198.5 kB / 0.5646 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002201/0.3294, allocations: 391.6 kB / 0.565 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.3312, allocations: 0.8155 MB / 0.5658 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.452e-05/0.3313, allocations: 90.69 kB / 0.5659 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000335/0.3317, allocations: 151.8 kB / 0.5661 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/0.3344, allocations: 1.85 MB / 0.5679 GB, free: 9.348 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.299e-05/0.3344, allocations: 11.88 kB / 0.5679 GB, free: 9.336 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/0.3346, allocations: 51.98 kB / 0.5679 GB, free: 9.285 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003158/0.3349, allocations: 102.1 kB / 0.568 GB, free: 9.184 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.3373, allocations: 1.487 MB / 0.5695 GB, free: 7.688 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009385/0.3466, allocations: 7.914 MB / 0.5772 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.3478, allocations: 0.6577 MB / 0.5778 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006732/0.3485, allocations: 456.2 kB / 0.5783 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.233e-05/0.3485, allocations: 16.66 kB / 0.5783 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.3486, allocations: 39.22 kB / 0.5783 GB, free: 14.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.564e-06/0.3486, allocations: 0 / 0.5783 GB, free: 14.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.003919/0.3525, allocations: 2.396 MB / 0.5807 GB, free: 11.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.252e-05/0.3526, allocations: 89.7 kB / 0.5808 GB, free: 11.72 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009799/0.3536, allocations: 0.8562 MB / 0.5816 GB, free: 10.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/0.3536, allocations: 41.7 kB / 0.5816 GB, free: 10.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005177/0.3541, allocations: 0.702 MB / 0.5823 GB, free: 10.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.3544, allocations: 321.5 kB / 0.5826 GB, free: 9.777 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003465/0.3547, allocations: 259.4 kB / 0.5829 GB, free: 9.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.355, allocations: 410.7 kB / 0.5833 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000708/0.3557, allocations: 455.7 kB / 0.5837 GB, free: 8.664 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.3568, allocations: 1.001 MB / 0.5847 GB, free: 7.414 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/0.3589, allocations: 1.585 MB / 0.5862 GB, free: 5.566 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.3589, allocations: 12 kB / 0.5862 GB, free: 5.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003196/0.3621, allocations: 1.76 MB / 0.588 GB, free: 3.781 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.3621, allocations: 19.59 kB / 0.588 GB, free: 3.766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001847/0.3639, allocations: 0.9734 MB / 0.5889 GB, free: 2.781 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000924/0.3649, allocations: 246.3 kB / 0.5892 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.3659, allocations: 311.5 kB / 0.5895 GB, free: 2.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004994/0.3709, allocations: 4.843 MB / 0.5942 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008495/0.3718, allocations: 63.88 kB / 0.5942 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.3719, allocations: 68 kB / 0.5943 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.0006505/0.3725, allocations: 429.1 kB / 0.5947 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.3727, allocations: 99.34 kB / 0.5948 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.3743, allocations: 0.9533 MB / 0.5957 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.3744, allocations: 15.94 kB / 0.5958 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.3744, allocations: 7.875 kB / 0.5958 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.3744, allocations: 3.984 kB / 0.5958 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003932/0.3783, allocations: 2.016 MB / 0.5977 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.3783, allocations: 4 kB / 0.5977 GB, free: 9.301 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009253/0.3792, allocations: 183.8 kB / 0.5979 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.3792, allocations: 4 kB / 0.5979 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-05/0.3793, allocations: 23.98 kB / 0.5979 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.3793, allocations: 4.188 kB / 0.5979 GB, free: 9.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.3793, allocations: 15.94 kB / 0.598 GB, free: 9.074 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/0.3814, allocations: 1.406 MB / 0.5993 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.3815, allocations: 83.34 kB / 0.5994 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.3817, allocations: 24.17 kB / 0.5994 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003977/0.3821, allocations: 24.08 kB / 0.5995 GB, free: 7.512 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.841e-05/0.3822, allocations: 68.36 kB / 0.5995 GB, free: 7.445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.096e-05/0.3822, allocations: 24 kB / 0.5995 GB, free: 7.422 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006885/0.3829, allocations: 0.538 MB / 0.6001 GB, free: 6.883 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3829, allocations: 0 / 0.6001 GB, free: 6.883 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001038/0.3839, allocations: 300 kB / 0.6004 GB, free: 6.59 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.002341/0.3863, allocations: 1.984 MB / 0.6023 GB, free: 4.555 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002358/0.3886, allocations: 1.411 MB / 0.6037 GB, free: 3.109 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3887, allocations: 0 / 0.6037 GB, free: 3.109 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006101/0.3893, allocations: 387.4 kB / 0.604 GB, free: 2.727 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009348/0.3902, allocations: 178.7 kB / 0.6042 GB, free: 2.559 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/0.4051, allocations: 10.33 MB / 0.6143 GB, free: 7.535 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007825/0.4059, allocations: 0.6538 MB / 0.6149 GB, free: 6.844 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001002/0.4069, allocations: 416.7 kB / 0.6153 GB, free: 6.434 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006045/0.4075, allocations: 467.3 kB / 0.6158 GB, free: 5.977 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4075, allocations: 3.938 kB / 0.6158 GB, free: 5.973 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06194/0.4695, allocations: 22.03 MB / 0.6373 GB, free: 212 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.86, allocations: 6.562 kB / 0.6373 GB, free: 208 kB / 478.1 MB " [Timeout remaining time 647] (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: 15.718337655067444] Failed to read output from testmodel.py, exit status != 0: 12.986339171882719 13.010697919 12.682028015 Calling exit ...