Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.001372/0.001372, 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.001472/0.001472, allocations: 211.3 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.567/1.567, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1864/0.1864, 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.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase",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.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3036, allocations: 62.46 MB / 0.5419 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase): time 0.007213/0.3108, allocations: 5.312 MB / 0.5471 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.3132, allocations: 1.27 MB / 0.5484 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/0.3134, allocations: 26.34 kB / 0.5484 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004466/0.3138, allocations: 121.6 kB / 0.5485 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008786/0.3147, allocations: 378.5 kB / 0.5489 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.315, allocations: 138.3 kB / 0.549 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009156/0.316, allocations: 0.7595 MB / 0.5497 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.3162, allocations: 131.7 kB / 0.5499 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005479/0.3168, allocations: 348.3 kB / 0.5502 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006575/0.3174, allocations: 415.2 kB / 0.5506 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.052e-05/0.3175, allocations: 36.16 kB / 0.5506 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.518e-05/0.3176, allocations: 36.31 kB / 0.5507 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002525/0.3178, allocations: 195.3 kB / 0.5508 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.3181, allocations: 210.6 kB / 0.551 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008225/0.3189, allocations: 0.5371 MB / 0.5516 GB, free: 9.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3189, allocations: 0 / 0.5516 GB, free: 9.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3189, allocations: 0 / 0.5516 GB, free: 9.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.3189, allocations: 1.125 kB / 0.5516 GB, free: 9.109 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001377/0.3203, allocations: 0.7398 MB / 0.5523 GB, free: 8.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.3203, allocations: 13.95 kB / 0.5523 GB, free: 8.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.3204, allocations: 77.25 kB / 0.5524 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.83e-05/0.3205, allocations: 57.75 kB / 0.5524 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007839/0.3213, allocations: 426.6 kB / 0.5528 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/0.3213, allocations: 33.31 kB / 0.5529 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.354e-05/0.3214, allocations: 37.47 kB / 0.5529 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008362/0.3222, allocations: 0.4973 MB / 0.5534 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3223, allocations: 0 / 0.5534 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.3223, allocations: 16.62 kB / 0.5534 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.274e-05/0.3223, allocations: 17.66 kB / 0.5534 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005972/0.3229, allocations: 371.1 kB / 0.5538 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.3255, allocations: 1.914 MB / 0.5556 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.326, allocations: 221.5 kB / 0.5559 GB, free: 5.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.3262, allocations: 117.7 kB / 0.556 GB, free: 5.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.3262, allocations: 4 kB / 0.556 GB, free: 5.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.3262, allocations: 38.5 kB / 0.556 GB, free: 5.555 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.3262, allocations: 0 / 0.556 GB, free: 5.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=23): time 0.001365/0.3276, allocations: 0.6956 MB / 0.5567 GB, free: 4.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.462e-05/0.3277, allocations: 89.16 kB / 0.5568 GB, free: 4.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004212/0.3281, allocations: 389.5 kB / 0.5571 GB, free: 4.336 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.3282, allocations: 25.7 kB / 0.5572 GB, free: 4.305 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.3284, allocations: 303.7 kB / 0.5575 GB, free: 4.004 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.591e-05/0.3285, allocations: 83.27 kB / 0.5575 GB, free: 3.922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.3286, allocations: 86.08 kB / 0.5576 GB, free: 3.832 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002222/0.3289, allocations: 346.8 kB / 0.558 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.329, allocations: 84.83 kB / 0.558 GB, free: 3.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.3293, allocations: 273.2 kB / 0.5583 GB, free: 3.043 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005367/0.3299, allocations: 415.2 kB / 0.5587 GB, free: 2.551 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3299, allocations: 0 / 0.5587 GB, free: 2.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008202/0.3307, allocations: 457.7 kB / 0.5591 GB, free: 2.094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.3307, allocations: 4 kB / 0.5591 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.3307, allocations: 8 kB / 0.5591 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/0.331, allocations: 52.83 kB / 0.5592 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.3313, allocations: 87.83 kB / 0.5593 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/0.333, allocations: 1.507 MB / 0.5607 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.3332, allocations: 23.89 kB / 0.5608 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.3333, allocations: 24 kB / 0.5608 GB, free: 280 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002651/0.3335, allocations: 197.7 kB / 0.561 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.711e-05/0.3336, allocations: 43.7 kB / 0.561 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004061/0.334, allocations: 243.3 kB / 0.5613 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.334, allocations: 8.062 kB / 0.5613 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.334, allocations: 0 / 0.5613 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.334, allocations: 0 / 0.5613 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009676/0.335, allocations: 0.6438 MB / 0.5619 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.335, allocations: 0 / 0.5619 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.3352, allocations: 43.92 kB / 0.5619 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.3352, allocations: 3.984 kB / 0.5619 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.3352, allocations: 8 kB / 0.5619 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.155e-06/0.3352, allocations: 0 / 0.5619 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3352, allocations: 8.062 kB / 0.5619 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005599/0.3358, allocations: 433.2 kB / 0.5624 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.3359, allocations: 47.78 kB / 0.5624 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.3359, allocations: 0 / 0.5624 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.3361, allocations: 11.98 kB / 0.5624 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.3361, allocations: 19.97 kB / 0.5624 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.3361, allocations: 4 kB / 0.5624 GB, free: 14.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003213/0.3365, allocations: 255.2 kB / 0.5627 GB, free: 14.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3365, allocations: 4 kB / 0.5627 GB, free: 14.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005172/0.337, allocations: 87.94 kB / 0.5628 GB, free: 14.15 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * 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.001065/0.338, allocations: 0.9722 MB / 0.5637 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007831/0.3388, allocations: 367.8 kB / 0.5641 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3388, allocations: 128 / 0.5641 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.339, allocations: 90.27 kB / 0.5642 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006076/0.3396, allocations: 94.11 kB / 0.5642 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004955/0.3445, allocations: 3.721 MB / 0.5679 GB, free: 8.609 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.3448, allocations: 250 kB / 0.5681 GB, free: 8.336 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002379/0.345, allocations: 88.12 kB / 0.5682 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.3452, allocations: 147.4 kB / 0.5683 GB, free: 8.105 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3452, allocations: 7.938 kB / 0.5684 GB, free: 8.098 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04087/0.3861, allocations: 8.543 MB / 0.5767 GB, free: 15.74 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.24, allocations: 0 / 0.5767 GB, free: 15.74 MB / 430.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_OnePhase.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.370913837105036] Failed to read output from testmodel.py, exit status != 0: 12.354882732965052 12.371073316 12.04906853 Calling exit ...