Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.001299/0.001299, allocations: 115.6 kB / 20.43 MB, free: 1.309 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.001463/0.001463, allocations: 212.9 kB / 23.74 MB, free: 4.535 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.512/1.512, allocations: 230.6 MB / 257.5 MB, free: 7.969 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.2246/0.2246, allocations: 38.53 MB / 352.5 MB, free: 12.53 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.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Impedance,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance",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.002032/0.002032, allocations: 67.89 kB / 492.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3101, allocations: 62.46 MB / 0.542 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.006604/0.3167, allocations: 4.757 MB / 0.5466 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002714/0.3194, allocations: 1.518 MB / 0.5481 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.3196, allocations: 20.59 kB / 0.5481 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.3208, allocations: 393.5 kB / 0.5485 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005527/0.3213, allocations: 235.6 kB / 0.5487 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007775/0.3221, allocations: 258.9 kB / 0.549 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007356/0.3229, allocations: 0.5606 MB / 0.5495 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004591/0.3233, allocations: 251.3 kB / 0.5498 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004975/0.3238, allocations: 272 kB / 0.55 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005464/0.3244, allocations: 335.5 kB / 0.5504 GB, free: 10 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.031e-05/0.3244, allocations: 34.34 kB / 0.5504 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003573/0.3248, allocations: 167.9 kB / 0.5506 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000252/0.325, allocations: 233.5 kB / 0.5508 GB, free: 9.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002597/0.3253, allocations: 250.9 kB / 0.551 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007284/0.326, allocations: 0.6075 MB / 0.5516 GB, free: 9.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.326, allocations: 0 / 0.5516 GB, free: 9.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.326, allocations: 1.312 kB / 0.5516 GB, free: 9.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.326, allocations: 0 / 0.5516 GB, free: 9.219 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001436/0.3275, allocations: 0.7106 MB / 0.5523 GB, free: 8.645 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.3275, allocations: 12.92 kB / 0.5523 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001114/0.3276, allocations: 93.02 kB / 0.5524 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007299/0.3283, allocations: 122.1 kB / 0.5525 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006985/0.329, allocations: 362.5 kB / 0.5529 GB, free: 8.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.3291, allocations: 31.03 kB / 0.5529 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.3292, allocations: 55.42 kB / 0.5529 GB, free: 8.184 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009503/0.3302, allocations: 0.6447 MB / 0.5536 GB, free: 7.711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.3302, allocations: 10.64 kB / 0.5536 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.029e-05/0.3302, allocations: 16.78 kB / 0.5536 GB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.3304, allocations: 29.33 kB / 0.5536 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007876/0.3312, allocations: 479.9 kB / 0.5541 GB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003601/0.3348, allocations: 2.94 MB / 0.557 GB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.3351, allocations: 178 kB / 0.5571 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.3352, allocations: 101.7 kB / 0.5572 GB, free: 4.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.3353, allocations: 7.938 kB / 0.5572 GB, free: 4.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.3353, allocations: 38.5 kB / 0.5573 GB, free: 4.535 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.3353, allocations: 0 / 0.5573 GB, free: 4.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001359/0.3367, allocations: 0.7798 MB / 0.558 GB, free: 3.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.3367, allocations: 85.11 kB / 0.5581 GB, free: 3.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.3371, allocations: 345.6 kB / 0.5584 GB, free: 3.281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.3371, allocations: 25.7 kB / 0.5585 GB, free: 3.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.3373, allocations: 307.9 kB / 0.5588 GB, free: 2.945 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.42e-05/0.3374, allocations: 87.25 kB / 0.5588 GB, free: 2.859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.3375, allocations: 82.09 kB / 0.5589 GB, free: 2.773 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3377, allocations: 354.8 kB / 0.5593 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.3379, allocations: 124.7 kB / 0.5594 GB, free: 2.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003916/0.3383, allocations: 322.9 kB / 0.5597 GB, free: 1.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006362/0.339, allocations: 0.497 MB / 0.5602 GB, free: 1.293 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.339, allocations: 3.938 kB / 0.5602 GB, free: 1.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001046/0.34, allocations: 0.5587 MB / 0.5607 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.34, allocations: 8 kB / 0.5607 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005363/0.3406, allocations: 280.2 kB / 0.561 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003541/0.3409, allocations: 84.72 kB / 0.5611 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.3412, allocations: 91.89 kB / 0.5612 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/0.343, allocations: 1.623 MB / 0.5628 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.3433, allocations: 24.05 kB / 0.5628 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.3433, allocations: 27.98 kB / 0.5628 GB, free: 14.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002685/0.3436, allocations: 221.5 kB / 0.563 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.3437, allocations: 31.77 kB / 0.563 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005068/0.3442, allocations: 295.8 kB / 0.5633 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3442, allocations: 0 / 0.5633 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.3442, allocations: 8 kB / 0.5633 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3442, allocations: 0 / 0.5633 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.3454, allocations: 0.7605 MB / 0.5641 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3455, allocations: 4 kB / 0.5641 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.3457, allocations: 47.97 kB / 0.5641 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.3458, allocations: 7.938 kB / 0.5641 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.3458, allocations: 16 kB / 0.5641 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.3458, allocations: 0 / 0.5641 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3458, allocations: 3.938 kB / 0.5642 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006385/0.3464, allocations: 472.5 kB / 0.5646 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.3465, allocations: 35.8 kB / 0.5646 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/0.3465, allocations: 15.94 kB / 0.5647 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.3467, allocations: 8 kB / 0.5647 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.42e-05/0.3468, allocations: 15.91 kB / 0.5647 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.3468, allocations: 12 kB / 0.5647 GB, free: 12.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002495/0.347, allocations: 239.1 kB / 0.5649 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.347, allocations: 0 / 0.5649 GB, free: 12.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004803/0.3475, allocations: 96 kB / 0.565 GB, free: 12.11 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (24): * Single equations (assignments): 23 * 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.0009142/0.3484, allocations: 1.011 MB / 0.566 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007753/0.3492, allocations: 434.1 kB / 0.5664 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3492, allocations: 0 / 0.5664 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.3494, allocations: 109.2 kB / 0.5665 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000794/0.3502, allocations: 78.95 kB / 0.5666 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008408/0.3586, allocations: 3.998 MB / 0.5705 GB, free: 6.164 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006644/0.3593, allocations: 0.8701 MB / 0.5713 GB, free: 5.266 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004823/0.3597, allocations: 111.2 kB / 0.5714 GB, free: 5.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/0.3601, allocations: 147.4 kB / 0.5716 GB, free: 5.016 MB / 414.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3601, allocations: 0 / 0.5716 GB, free: 5.016 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05645/0.4165, allocations: 7.844 MB / 0.5792 GB, free: 13.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.4, allocations: 14.08 kB / 0.5793 GB, free: 13.28 MB / 430.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Impedance.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.390336058000685] Failed to read output from testmodel.py, exit status != 0: 12.51101384300273 12.536844831 12.205887077 Calling exit ...