Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001323/0.001323, allocations: 113 kB / 18.49 MB, free: 4.539 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.001396/0.001396, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.533/1.533, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.1838/0.1838, allocations: 38.51 MB / 349.4 MB, free: 2.582 MB / 270.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.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="cs",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.001893/0.001893, allocations: 63.91 kB / 487.8 MB, free: 22.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1224, allocations: 62.42 MB / 0.5374 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01152/0.1339, allocations: 9.191 MB / 0.5463 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007326/0.1412, allocations: 3.439 MB / 0.5497 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.1426, allocations: 47.56 kB / 0.5497 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003067/0.1457, allocations: 1.065 MB / 0.5508 GB, free: 9.754 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003065/0.1488, allocations: 1.113 MB / 0.5519 GB, free: 8.637 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.1508, allocations: 0.6938 MB / 0.5525 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00332/0.1541, allocations: 2.378 MB / 0.5549 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.1551, allocations: 0.6395 MB / 0.5555 GB, free: 4.887 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.1568, allocations: 1.024 MB / 0.5565 GB, free: 3.859 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002024/0.1589, allocations: 1.449 MB / 0.5579 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002216/0.1591, allocations: 128 kB / 0.558 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.1604, allocations: 0.6358 MB / 0.5586 GB, free: 1.645 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009998/0.1614, allocations: 0.939 MB / 0.5596 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.1625, allocations: 0.8979 MB / 0.5604 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00293/0.1654, allocations: 2.374 MB / 0.5628 GB, free: 13.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1654, allocations: 0 / 0.5628 GB, free: 13.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1654, allocations: 0 / 0.5628 GB, free: 13.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.216e-05/0.1654, allocations: 7.938 kB / 0.5628 GB, free: 13.41 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.00381/0.1693, allocations: 2.071 MB / 0.5648 GB, free: 11.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1693, allocations: 8.031 kB / 0.5648 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.606e-05/0.1693, allocations: 38.94 kB / 0.5648 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003252/0.1697, allocations: 240.8 kB / 0.5651 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002478/0.1721, allocations: 483.2 kB / 0.5655 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.1742, allocations: 1.079 MB / 0.5666 GB, free: 9.379 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.863e-05/0.1743, allocations: 114.8 kB / 0.5667 GB, free: 9.266 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003782/0.1747, allocations: 163.9 kB / 0.5668 GB, free: 9.105 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003757/0.1785, allocations: 2.316 MB / 0.5691 GB, free: 6.633 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.67e-05/0.1785, allocations: 15.89 kB / 0.5691 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.1787, allocations: 59.97 kB / 0.5692 GB, free: 6.559 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005674/0.1792, allocations: 226.8 kB / 0.5694 GB, free: 6.336 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00314/0.1824, allocations: 1.846 MB / 0.5712 GB, free: 4.484 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01373/0.1961, allocations: 9.538 MB / 0.5805 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002618/0.1987, allocations: 1.458 MB / 0.5819 GB, free: 8.926 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009475/0.1997, allocations: 0.5479 MB / 0.5825 GB, free: 8.375 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.248e-05/0.1997, allocations: 13 kB / 0.5825 GB, free: 8.363 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001397/0.2011, allocations: 0.8568 MB / 0.5833 GB, free: 7.465 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 4.328e-06/0.2011, allocations: 0 / 0.5833 GB, free: 7.465 MB / 446.1 MB Notification: Performance of matching and sorting (n=131): time 0.007494/0.2086, allocations: 4.072 MB / 0.5873 GB, free: 3.293 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002161/0.2088, allocations: 290.3 kB / 0.5876 GB, free: 2.949 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/0.2101, allocations: 0.9108 MB / 0.5885 GB, free: 2.016 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.38e-05/0.2102, allocations: 53.7 kB / 0.5885 GB, free: 1.957 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007716/0.211, allocations: 0.7929 MB / 0.5893 GB, free: 1.152 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004784/0.2115, allocations: 472.1 kB / 0.5897 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004586/0.2119, allocations: 327.4 kB / 0.59 GB, free: 372 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.2121, allocations: 361.9 kB / 0.5904 GB, free: 4 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2383/0.4505, allocations: 0.5726 MB / 0.591 GB, free: 50.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.4519, allocations: 1.173 MB / 0.5921 GB, free: 50.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00307/0.4549, allocations: 2.002 MB / 0.5941 GB, free: 49.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.854e-05/0.455, allocations: 9.531 kB / 0.5941 GB, free: 49.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005648/0.4606, allocations: 2.475 MB / 0.5965 GB, free: 48.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.755e-05/0.4607, allocations: 68.02 kB / 0.5965 GB, free: 48.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003549/0.4642, allocations: 1.543 MB / 0.598 GB, free: 47.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001808/0.4661, allocations: 0.5481 MB / 0.5986 GB, free: 47.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.4673, allocations: 326 kB / 0.5989 GB, free: 47.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/0.4774, allocations: 9.461 MB / 0.6081 GB, free: 40.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.4786, allocations: 75.23 kB / 0.6082 GB, free: 40.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.4787, allocations: 104.7 kB / 0.6083 GB, free: 40.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (175): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (2,11,100.0%), (2,12,100.0%), (2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008516/0.4796, allocations: 0.6025 MB / 0.6089 GB, free: 39.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/0.4798, allocations: 129.5 kB / 0.609 GB, free: 39.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/0.4821, allocations: 1.538 MB / 0.6105 GB, free: 39.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.4821, allocations: 13.75 kB / 0.6105 GB, free: 39.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.4821, allocations: 0.9062 kB / 0.6105 GB, free: 39.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/0.4822, allocations: 7.312 kB / 0.6105 GB, free: 39.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004388/0.4865, allocations: 3.076 MB / 0.6135 GB, free: 38.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.4865, allocations: 3.156 kB / 0.6135 GB, free: 38.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.4879, allocations: 298.9 kB / 0.6138 GB, free: 38.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/0.4879, allocations: 9.531 kB / 0.6138 GB, free: 38.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-05/0.488, allocations: 40.64 kB / 0.6139 GB, free: 38.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.488, allocations: 9.297 kB / 0.6139 GB, free: 38.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.488, allocations: 9.578 kB / 0.6139 GB, free: 38.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/0.4907, allocations: 2.329 MB / 0.6162 GB, free: 37.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004454/0.4911, allocations: 299.1 kB / 0.6165 GB, free: 36.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.4912, allocations: 32.31 kB / 0.6165 GB, free: 36.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005619/0.4918, allocations: 42.98 kB / 0.6165 GB, free: 36.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.492, allocations: 77.33 kB / 0.6166 GB, free: 36.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/0.4921, allocations: 83.3 kB / 0.6167 GB, free: 36.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007633/0.4929, allocations: 0.6059 MB / 0.6173 GB, free: 36.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4929, allocations: 0 / 0.6173 GB, free: 36.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001415/0.4943, allocations: 419.2 kB / 0.6177 GB, free: 36.49 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * 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 (121): * Single equations (assignments): 118 * 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.002766/0.4971, allocations: 2.926 MB / 0.6205 GB, free: 34.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003056/0.5001, allocations: 2.26 MB / 0.6227 GB, free: 33.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5001, allocations: 0 / 0.6227 GB, free: 33.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008047/0.5009, allocations: 0.7848 MB / 0.6235 GB, free: 32.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009869/0.5019, allocations: 223.2 kB / 0.6237 GB, free: 32.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/0.518, allocations: 13.1 MB / 0.6365 GB, free: 18.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009501/0.519, allocations: 1.461 MB / 0.6379 GB, free: 17.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009644/0.5199, allocations: 466.3 kB / 0.6384 GB, free: 16.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005681/0.5205, allocations: 0.5695 MB / 0.6389 GB, free: 16.08 MB / 446.1 MB Notification: Performance of SimCode: time 1.433e-06/0.5205, allocations: 0 / 0.6389 GB, free: 16.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06018/0.5807, allocations: 27.6 MB / 0.6659 GB, free: 4.691 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.35, allocations: 4.062 kB / 0.6659 GB, free: 4.688 MB / 462.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.287701666005887] Failed to read output from testmodel.py, exit status != 0: 13.504727134015411 13.520397289 13.351812194 Calling exit ...