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.001403/0.001403, allocations: 111.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.00146/0.00146, allocations: 205.9 kB / 23.73 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.454/1.454, 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.1877/0.1877, allocations: 38.56 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.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.002101/0.002101, allocations: 66.41 kB / 492.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3446, allocations: 62.46 MB / 0.5419 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.0095/0.3541, allocations: 6.936 MB / 0.5487 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003474/0.3576, allocations: 1.656 MB / 0.5503 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00044/0.358, allocations: 37.31 kB / 0.5504 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006827/0.3587, allocations: 225.8 kB / 0.5506 GB, free: 9.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.3601, allocations: 0.5864 MB / 0.5512 GB, free: 9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.3606, allocations: 212.4 kB / 0.5514 GB, free: 8.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001504/0.3621, allocations: 1.261 MB / 0.5526 GB, free: 8.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003668/0.3625, allocations: 209.9 kB / 0.5528 GB, free: 8.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009337/0.3634, allocations: 0.5746 MB / 0.5533 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001/0.3644, allocations: 0.6534 MB / 0.554 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.3645, allocations: 66.19 kB / 0.5541 GB, free: 7.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.3647, allocations: 68.28 kB / 0.5541 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003444/0.365, allocations: 337.5 kB / 0.5544 GB, free: 7.078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004114/0.3654, allocations: 351.2 kB / 0.5548 GB, free: 6.879 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.3665, allocations: 0.9355 MB / 0.5557 GB, free: 6.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3665, allocations: 0 / 0.5557 GB, free: 6.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3665, allocations: 0 / 0.5557 GB, free: 6.188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.717e-05/0.3665, allocations: 0 / 0.5557 GB, free: 6.188 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.0024/0.3689, allocations: 1.184 MB / 0.5568 GB, free: 4.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.369, allocations: 11.98 kB / 0.5569 GB, free: 4.941 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001522/0.3691, allocations: 106.7 kB / 0.557 GB, free: 4.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.3693, allocations: 108.3 kB / 0.5571 GB, free: 4.723 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001454/0.3708, allocations: 0.6353 MB / 0.5577 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.3708, allocations: 53.25 kB / 0.5577 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.371, allocations: 71.94 kB / 0.5578 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.3723, allocations: 0.8718 MB / 0.5586 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.3724, allocations: 0 / 0.5586 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.962e-05/0.3724, allocations: 24 kB / 0.5587 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.015e-05/0.3725, allocations: 37.3 kB / 0.5587 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.3736, allocations: 0.672 MB / 0.5594 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004038/0.3776, allocations: 2.35 MB / 0.5617 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.3787, allocations: 0.6179 MB / 0.5623 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006592/0.3793, allocations: 398.3 kB / 0.5626 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.3794, allocations: 12.36 kB / 0.5627 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007049/0.3801, allocations: 0.5381 MB / 0.5632 GB, free: 14.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 2.565e-06/0.3801, allocations: 0 / 0.5632 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003209/0.3833, allocations: 2.055 MB / 0.5652 GB, free: 12.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001682/0.3834, allocations: 259.7 kB / 0.5654 GB, free: 11.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007138/0.3842, allocations: 0.5742 MB / 0.566 GB, free: 11.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/0.3842, allocations: 41.83 kB / 0.566 GB, free: 11.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/0.3845, allocations: 408.4 kB / 0.5664 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.3847, allocations: 222.1 kB / 0.5666 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.385, allocations: 142.6 kB / 0.5668 GB, free: 10.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002299/0.3852, allocations: 386.8 kB / 0.5671 GB, free: 9.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004284/0.3856, allocations: 277.3 kB / 0.5674 GB, free: 9.645 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006199/0.3862, allocations: 0.5011 MB / 0.5679 GB, free: 9.035 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.3873, allocations: 0.7924 MB / 0.5687 GB, free: 8.125 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.3873, allocations: 8 kB / 0.5687 GB, free: 8.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001951/0.3892, allocations: 0.9973 MB / 0.5697 GB, free: 7.078 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.313e-05/0.3893, allocations: 63.39 kB / 0.5697 GB, free: 7.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.3893, allocations: 11.94 kB / 0.5697 GB, free: 6.992 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004351/0.3898, allocations: 122 kB / 0.5698 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/0.3903, allocations: 143.7 kB / 0.57 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003616/0.3939, allocations: 3.329 MB / 0.5732 GB, free: 3.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005657/0.3945, allocations: 31.98 kB / 0.5733 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.3946, allocations: 63.83 kB / 0.5733 GB, free: 3.074 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.0005303/0.3951, allocations: 360.5 kB / 0.5737 GB, free: 2.699 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.3952, allocations: 79.59 kB / 0.5737 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.3965, allocations: 0.8494 MB / 0.5746 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3965, allocations: 4 kB / 0.5746 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3965, allocations: 3.984 kB / 0.5746 GB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.3965, allocations: 0 / 0.5746 GB, free: 1.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/0.399, allocations: 1.551 MB / 0.5761 GB, free: 104 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.399, allocations: 3.938 kB / 0.5761 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005285/0.3995, allocations: 119.9 kB / 0.5762 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.3995, allocations: 3.938 kB / 0.5762 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/0.3996, allocations: 20 kB / 0.5762 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.074e-05/0.3996, allocations: 7.922 kB / 0.5762 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.3996, allocations: 4 kB / 0.5762 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.4014, allocations: 1.328 MB / 0.5775 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003359/0.4017, allocations: 115.4 kB / 0.5776 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.2e-05/0.4018, allocations: 19.98 kB / 0.5777 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.4022, allocations: 32.05 kB / 0.5777 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.4023, allocations: 48.3 kB / 0.5777 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.973e-05/0.4024, allocations: 59.98 kB / 0.5778 GB, free: 14.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005031/0.4029, allocations: 391.1 kB / 0.5782 GB, free: 13.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4029, allocations: 0 / 0.5782 GB, free: 13.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008088/0.4037, allocations: 180 kB / 0.5783 GB, free: 13.73 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.002264/0.406, allocations: 1.896 MB / 0.5802 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.4077, allocations: 1.092 MB / 0.5813 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4077, allocations: 4.062 kB / 0.5813 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006698/0.4083, allocations: 496.5 kB / 0.5817 GB, free: 10.06 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009285/0.4093, allocations: 161.7 kB / 0.5819 GB, free: 9.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009529/0.4188, allocations: 6.589 MB / 0.5883 GB, free: 2.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000543/0.4193, allocations: 413.1 kB / 0.5887 GB, free: 2.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004717/0.4198, allocations: 145.9 kB / 0.5889 GB, free: 2.355 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004057/0.4202, allocations: 287.3 kB / 0.5891 GB, free: 2.074 MB / 430.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4202, allocations: 0 / 0.5891 GB, free: 2.074 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05714/0.4774, allocations: 15.22 MB / 0.604 GB, free: 3.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.67, allocations: 2.656 kB / 0.604 GB, free: 3.09 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.50530924834311] Failed to read output from testmodel.py, exit status != 0: 12.79003086220473 12.821279264 12.448915173 Calling exit ...