Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.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.001314/0.001314, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001448/0.001448, allocations: 196.5 kB / 23.72 MB, free: 4.492 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.742 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.1896/0.1896, allocations: 38.55 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.AC1ph_DC.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger",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.002469/0.002469, allocations: 63.91 kB / 492.5 MB, free: 4.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3294, allocations: 62.47 MB / 0.5419 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.0104/0.3398, allocations: 6.925 MB / 0.5487 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005326/0.3451, allocations: 1.661 MB / 0.5503 GB, free: 9.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.3462, allocations: 40.34 kB / 0.5504 GB, free: 9.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008918/0.3471, allocations: 217.2 kB / 0.5506 GB, free: 9.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002015/0.3491, allocations: 0.5915 MB / 0.5512 GB, free: 8.996 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005895/0.3497, allocations: 216 kB / 0.5514 GB, free: 8.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001669/0.3513, allocations: 1.265 MB / 0.5526 GB, free: 8.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003736/0.3517, allocations: 214.5 kB / 0.5528 GB, free: 7.988 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.3527, allocations: 0.5659 MB / 0.5534 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.3537, allocations: 0.6493 MB / 0.554 GB, free: 7.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.3539, allocations: 62.72 kB / 0.554 GB, free: 7.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.354, allocations: 63.41 kB / 0.5541 GB, free: 7.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003368/0.3544, allocations: 347.2 kB / 0.5544 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004188/0.3548, allocations: 358.1 kB / 0.5548 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.3559, allocations: 0.9386 MB / 0.5557 GB, free: 6.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.356, allocations: 0 / 0.5557 GB, free: 6.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.356, allocations: 0 / 0.5557 GB, free: 6.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.356, allocations: 0 / 0.5557 GB, free: 6.141 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002152/0.3581, allocations: 1.176 MB / 0.5568 GB, free: 4.914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.3582, allocations: 11.98 kB / 0.5569 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001372/0.3583, allocations: 118.7 kB / 0.557 GB, free: 4.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.3585, allocations: 96.33 kB / 0.5571 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.3598, allocations: 0.6392 MB / 0.5577 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.682e-05/0.3598, allocations: 45.3 kB / 0.5577 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.3599, allocations: 68 kB / 0.5578 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.3613, allocations: 0.8678 MB / 0.5586 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.3613, allocations: 7.984 kB / 0.5586 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.09e-05/0.3613, allocations: 28 kB / 0.5587 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/0.3614, allocations: 29.31 kB / 0.5587 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.3624, allocations: 0.672 MB / 0.5594 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0037/0.3661, allocations: 2.353 MB / 0.5617 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009861/0.3671, allocations: 0.6237 MB / 0.5623 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006378/0.3677, allocations: 398.4 kB / 0.5626 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.3678, allocations: 8.438 kB / 0.5627 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006634/0.3684, allocations: 0.5303 MB / 0.5632 GB, free: 14.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.174e-06/0.3685, allocations: 0 / 0.5632 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003159/0.3716, allocations: 2.059 MB / 0.5652 GB, free: 11.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001742/0.3718, allocations: 259.7 kB / 0.5654 GB, free: 11.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000714/0.3725, allocations: 0.5741 MB / 0.566 GB, free: 11.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/0.3725, allocations: 37.7 kB / 0.566 GB, free: 11.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003445/0.3729, allocations: 412.4 kB / 0.5664 GB, free: 10.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.3731, allocations: 218.2 kB / 0.5666 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.3733, allocations: 150.6 kB / 0.5668 GB, free: 10.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.3735, allocations: 378.8 kB / 0.5671 GB, free: 9.898 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/0.3739, allocations: 285.3 kB / 0.5674 GB, free: 9.605 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005803/0.3745, allocations: 0.4933 MB / 0.5679 GB, free: 9.004 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.3755, allocations: 0.7964 MB / 0.5687 GB, free: 8.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3755, allocations: 3.938 kB / 0.5687 GB, free: 8.086 MB / 414.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001698/0.3772, allocations: 0.9975 MB / 0.5696 GB, free: 7.047 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.278e-05/0.3773, allocations: 63.41 kB / 0.5697 GB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.3773, allocations: 16.02 kB / 0.5697 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004352/0.3777, allocations: 117.7 kB / 0.5698 GB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004953/0.3782, allocations: 139.8 kB / 0.57 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003574/0.3818, allocations: 3.344 MB / 0.5732 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005502/0.3823, allocations: 39.97 kB / 0.5733 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.3824, allocations: 59.84 kB / 0.5733 GB, free: 3.027 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,tapRelay1.cnt_2,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_1,$whenCondition4,$whenCondition3,tapRelay2.cnt_2,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_1,$whenCondition2,$whenCondition1,tapRelay1.tap_2,$PRE.tapRelay1.tap_2,tapRelay1.tap_1,$PRE.tapRelay1.tap_1,tapRelay2.tap_2,$PRE.tapRelay2.tap_2,tapRelay2.tap_1,$PRE.tapRelay2.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005674/0.383, allocations: 350.8 kB / 0.5737 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.3832, allocations: 75.53 kB / 0.5737 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.3846, allocations: 0.8572 MB / 0.5746 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.3846, allocations: 4 kB / 0.5746 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3846, allocations: 4 kB / 0.5746 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3846, allocations: 3.984 kB / 0.5746 GB, free: 1.684 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002554/0.3871, allocations: 1.555 MB / 0.5761 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.3871, allocations: 0 / 0.5761 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004995/0.3876, allocations: 107.9 kB / 0.5762 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.3877, allocations: 7.938 kB / 0.5762 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.985e-05/0.3877, allocations: 19.98 kB / 0.5762 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.3877, allocations: 7.938 kB / 0.5762 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3877, allocations: 0 / 0.5762 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.3896, allocations: 1.336 MB / 0.5775 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003333/0.39, allocations: 115.4 kB / 0.5777 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.3901, allocations: 16 kB / 0.5777 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003519/0.3904, allocations: 31.97 kB / 0.5777 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.3905, allocations: 40.31 kB / 0.5777 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.3906, allocations: 63.98 kB / 0.5778 GB, free: 14.25 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005215/0.3912, allocations: 391 kB / 0.5782 GB, free: 13.87 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3912, allocations: 0 / 0.5782 GB, free: 13.87 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008363/0.392, allocations: 180 kB / 0.5783 GB, free: 13.69 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (trafo1.i1,trafo2.i1) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * 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.002163/0.3942, allocations: 1.904 MB / 0.5802 GB, free: 11.71 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.3959, allocations: 1.091 MB / 0.5813 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.3959, allocations: 4 kB / 0.5813 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005997/0.3965, allocations: 492.5 kB / 0.5817 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009376/0.3974, allocations: 170.4 kB / 0.5819 GB, free: 9.863 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009214/0.4066, allocations: 6.578 MB / 0.5883 GB, free: 2.895 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/0.4071, allocations: 413.1 kB / 0.5887 GB, free: 2.465 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004317/0.4075, allocations: 149.8 kB / 0.5889 GB, free: 2.316 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003665/0.4079, allocations: 279.3 kB / 0.5891 GB, free: 2.043 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4079, allocations: 0 / 0.5891 GB, free: 2.043 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05533/0.4632, allocations: 15.22 MB / 0.604 GB, free: 3.059 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.65, allocations: 6.562 kB / 0.604 GB, free: 3.055 MB / 446.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.612010954879224] Failed to read output from testmodel.py, exit status != 0: 12.766400701832026 12.782150449 12.422816983 Calling exit ...