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.001291/0.001291, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001432/0.001432, allocations: 210.4 kB / 23.73 MB, free: 4.523 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1855/0.1855, allocations: 38.55 MB / 352.5 MB, free: 12.31 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.002074/0.002074, allocations: 67.89 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2937, allocations: 62.46 MB / 0.5419 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005966/0.2997, allocations: 4.48 MB / 0.5463 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.3022, allocations: 1.412 MB / 0.5477 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.3023, allocations: 24.5 kB / 0.5477 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.3034, allocations: 372 kB / 0.5481 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005352/0.304, allocations: 237.7 kB / 0.5483 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007471/0.3047, allocations: 259.9 kB / 0.5485 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006669/0.3054, allocations: 0.5569 MB / 0.5491 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004251/0.3058, allocations: 247.7 kB / 0.5493 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004412/0.3062, allocations: 275 kB / 0.5496 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000518/0.3068, allocations: 339.7 kB / 0.5499 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.041e-05/0.3068, allocations: 34.22 kB / 0.5499 GB, free: 10.24 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003246/0.3071, allocations: 151.3 kB / 0.5501 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002385/0.3074, allocations: 233.1 kB / 0.5503 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.3076, allocations: 216.3 kB / 0.5505 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000717/0.3083, allocations: 0.6039 MB / 0.5511 GB, free: 9.512 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3083, allocations: 1.188 kB / 0.5511 GB, free: 9.512 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3083, allocations: 0 / 0.5511 GB, free: 9.512 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.3083, allocations: 4 kB / 0.5511 GB, free: 9.508 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.001334/0.3097, allocations: 0.7123 MB / 0.5518 GB, free: 8.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3097, allocations: 13.83 kB / 0.5518 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/0.3099, allocations: 87.92 kB / 0.5519 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007481/0.3106, allocations: 123.2 kB / 0.552 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007483/0.3114, allocations: 355 kB / 0.5524 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/0.3114, allocations: 29.62 kB / 0.5524 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.3115, allocations: 60.73 kB / 0.5524 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009574/0.3125, allocations: 0.6422 MB / 0.5531 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.3125, allocations: 10.02 kB / 0.5531 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.3126, allocations: 16.62 kB / 0.5531 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/0.3127, allocations: 33.95 kB / 0.5531 GB, free: 7.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007398/0.3134, allocations: 478.1 kB / 0.5536 GB, free: 7.762 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003604/0.317, allocations: 2.853 MB / 0.5564 GB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.3173, allocations: 180.9 kB / 0.5565 GB, free: 5.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.3175, allocations: 97.73 kB / 0.5566 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.3175, allocations: 8 kB / 0.5566 GB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.3176, allocations: 34.56 kB / 0.5567 GB, free: 4.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.814e-06/0.3176, allocations: 3.938 kB / 0.5567 GB, free: 4.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=21): time 0.001435/0.319, allocations: 0.7762 MB / 0.5574 GB, free: 4.039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/0.3191, allocations: 77.11 kB / 0.5575 GB, free: 3.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/0.3194, allocations: 357.5 kB / 0.5579 GB, free: 3.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.3195, allocations: 29.7 kB / 0.5579 GB, free: 3.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.3197, allocations: 307.8 kB / 0.5582 GB, free: 3.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.212e-05/0.3198, allocations: 79.44 kB / 0.5583 GB, free: 3.176 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.3199, allocations: 94.08 kB / 0.5583 GB, free: 3.078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3201, allocations: 346.8 kB / 0.5587 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.3203, allocations: 128.8 kB / 0.5588 GB, free: 2.602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.3206, allocations: 330.8 kB / 0.5591 GB, free: 2.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006306/0.3213, allocations: 0.4931 MB / 0.5596 GB, free: 1.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3213, allocations: 3.938 kB / 0.5596 GB, free: 1.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001026/0.3223, allocations: 0.5603 MB / 0.5601 GB, free: 1.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.3223, allocations: 8 kB / 0.5602 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005449/0.3229, allocations: 278.4 kB / 0.5604 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003315/0.3232, allocations: 80.78 kB / 0.5605 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.3235, allocations: 95.83 kB / 0.5606 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/0.3253, allocations: 1.62 MB / 0.5622 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.3256, allocations: 15.95 kB / 0.5622 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.3256, allocations: 24 kB / 0.5622 GB, free: 14.78 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.000272/0.3259, allocations: 225.5 kB / 0.5624 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.293e-05/0.3259, allocations: 27.81 kB / 0.5624 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005285/0.3265, allocations: 299.9 kB / 0.5627 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3265, allocations: 0 / 0.5627 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3265, allocations: 4 kB / 0.5627 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3265, allocations: 3.938 kB / 0.5627 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.3277, allocations: 0.7388 MB / 0.5635 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3277, allocations: 0 / 0.5635 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000288/0.328, allocations: 51.97 kB / 0.5635 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.328, allocations: 4 kB / 0.5635 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.3281, allocations: 8.062 kB / 0.5635 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.3281, allocations: 7.922 kB / 0.5635 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.3281, allocations: 11.94 kB / 0.5635 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006215/0.3287, allocations: 473.6 kB / 0.564 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.3288, allocations: 31.7 kB / 0.564 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/0.3288, allocations: 15.97 kB / 0.564 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.329, allocations: 8 kB / 0.564 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.329, allocations: 23.84 kB / 0.5641 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.329, allocations: 8 kB / 0.5641 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000237/0.3293, allocations: 231.2 kB / 0.5643 GB, free: 12.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3293, allocations: 4 kB / 0.5643 GB, free: 12.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004823/0.3297, allocations: 104 kB / 0.5644 GB, free: 12.44 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.0009993/0.3307, allocations: 1.006 MB / 0.5654 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007809/0.3315, allocations: 442.7 kB / 0.5658 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3315, allocations: 0 / 0.5658 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.3317, allocations: 107.8 kB / 0.5659 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004946/0.3322, allocations: 70.56 kB / 0.566 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005215/0.3374, allocations: 3.996 MB / 0.5699 GB, free: 6.504 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.3377, allocations: 273.9 kB / 0.5701 GB, free: 6.219 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002925/0.338, allocations: 111.2 kB / 0.5702 GB, free: 6.105 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.3382, allocations: 143.4 kB / 0.5704 GB, free: 5.965 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3382, allocations: 4 kB / 0.5704 GB, free: 5.961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03964/0.3779, allocations: 8.281 MB / 0.5785 GB, free: 13.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.01, allocations: 7.109 kB / 0.5785 GB, free: 13.82 MB / 430.1 MB " [Timeout remaining time 648] (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: 14.795286036038306] Failed to read output from testmodel.py, exit status != 0: 12.131317502004094 12.148436944 11.836616647 Calling exit ...