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.001365/0.001365, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001466/0.001466, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.448/1.448, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.1869/0.1869, allocations: 38.56 MB / 353.3 MB, free: 12.3 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.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.002066/0.002066, allocations: 60.53 kB / 493.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3106, allocations: 62.47 MB / 0.5427 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.01054/0.3211, allocations: 8.496 MB / 0.551 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00669/0.3278, allocations: 3.206 MB / 0.5541 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009263/0.3287, allocations: 46.81 kB / 0.5542 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002804/0.3316, allocations: 1.011 MB / 0.5552 GB, free: 6.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003221/0.3348, allocations: 1.119 MB / 0.5563 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.3371, allocations: 0.7124 MB / 0.557 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003651/0.3407, allocations: 2.367 MB / 0.5593 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.3422, allocations: 0.6626 MB / 0.5599 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002564/0.3448, allocations: 1.027 MB / 0.5609 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002614/0.3474, allocations: 1.468 MB / 0.5623 GB, free: 84 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003651/0.3477, allocations: 128 kB / 0.5625 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001557/0.3493, allocations: 0.6162 MB / 0.5631 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001052/0.3503, allocations: 0.9429 MB / 0.564 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.3514, allocations: 0.7466 MB / 0.5647 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002925/0.3544, allocations: 2.397 MB / 0.5671 GB, free: 11.24 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3544, allocations: 0 / 0.5671 GB, free: 11.24 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3544, allocations: 0 / 0.5671 GB, free: 11.24 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.098e-05/0.3544, allocations: 3.984 kB / 0.5671 GB, free: 11.23 MB / 414.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.003631/0.3581, allocations: 1.996 MB / 0.569 GB, free: 9.184 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3581, allocations: 11.98 kB / 0.569 GB, free: 9.172 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.964e-05/0.3582, allocations: 42.94 kB / 0.5691 GB, free: 9.129 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002876/0.3584, allocations: 236.8 kB / 0.5693 GB, free: 8.887 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002419/0.3609, allocations: 479.2 kB / 0.5698 GB, free: 8.418 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.3629, allocations: 0.9956 MB / 0.5707 GB, free: 7.391 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.485e-05/0.363, allocations: 106.8 kB / 0.5708 GB, free: 7.285 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000363/0.3634, allocations: 163.9 kB / 0.571 GB, free: 7.125 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003894/0.3673, allocations: 2.382 MB / 0.5733 GB, free: 4.574 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.734e-05/0.3673, allocations: 15.89 kB / 0.5733 GB, free: 4.559 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.3675, allocations: 63.97 kB / 0.5734 GB, free: 4.496 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005516/0.368, allocations: 222.8 kB / 0.5736 GB, free: 4.277 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003198/0.3712, allocations: 1.9 MB / 0.5755 GB, free: 2.359 MB / 414.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.0119/0.3831, allocations: 8.431 MB / 0.5837 GB, free: 9.582 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002477/0.3856, allocations: 1.371 MB / 0.585 GB, free: 8.184 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009278/0.3865, allocations: 0.6014 MB / 0.5856 GB, free: 7.566 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.718e-05/0.3866, allocations: 13 kB / 0.5856 GB, free: 7.551 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001298/0.3879, allocations: 0.9109 MB / 0.5865 GB, free: 6.582 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.857e-06/0.3879, allocations: 0 / 0.5865 GB, free: 6.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=131): time 0.006902/0.3948, allocations: 4.132 MB / 0.5905 GB, free: 2.355 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001927/0.395, allocations: 294.5 kB / 0.5908 GB, free: 2.004 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.3962, allocations: 0.9147 MB / 0.5917 GB, free: 1.066 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.627e-05/0.3963, allocations: 61.62 kB / 0.5918 GB, free: 1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006824/0.397, allocations: 0.7771 MB / 0.5925 GB, free: 216 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004292/0.3974, allocations: 480.2 kB / 0.593 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004582/0.3979, allocations: 323.4 kB / 0.5933 GB, free: 15.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.398, allocations: 365.9 kB / 0.5937 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.3991, allocations: 0.6319 MB / 0.5943 GB, free: 14.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.4005, allocations: 1.225 MB / 0.5955 GB, free: 12.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002658/0.4032, allocations: 2.008 MB / 0.5974 GB, free: 10.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.314e-05/0.4032, allocations: 4 kB / 0.5974 GB, free: 10.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.00496/0.4082, allocations: 2.532 MB / 0.5999 GB, free: 8.031 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.97e-05/0.4083, allocations: 71.39 kB / 0.6 GB, free: 7.949 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003193/0.4114, allocations: 1.54 MB / 0.6015 GB, free: 6.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001732/0.4132, allocations: 0.5535 MB / 0.602 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.4145, allocations: 327.5 kB / 0.6023 GB, free: 5.512 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.4256, allocations: 8.976 MB / 0.6111 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.4268, allocations: 79.88 kB / 0.6112 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/0.427, allocations: 103.9 kB / 0.6113 GB, free: 11.9 MB / 462.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.0009834/0.428, allocations: 0.5998 MB / 0.6119 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.4282, allocations: 135.2 kB / 0.612 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/0.4308, allocations: 1.601 MB / 0.6136 GB, free: 9.512 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.4308, allocations: 19.92 kB / 0.6136 GB, free: 9.492 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.4308, allocations: 0 / 0.6136 GB, free: 9.492 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.4309, allocations: 3.984 kB / 0.6136 GB, free: 9.488 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004851/0.4357, allocations: 3.008 MB / 0.6165 GB, free: 6.383 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.4357, allocations: 0 / 0.6165 GB, free: 6.383 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/0.4372, allocations: 303.8 kB / 0.6168 GB, free: 6.086 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/0.4372, allocations: 8 kB / 0.6168 GB, free: 6.078 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.564e-05/0.4373, allocations: 35.97 kB / 0.6168 GB, free: 6.043 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/0.4373, allocations: 8 kB / 0.6168 GB, free: 6.035 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4373, allocations: 0 / 0.6168 GB, free: 6.035 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003563/0.4408, allocations: 2.466 MB / 0.6193 GB, free: 3.492 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005698/0.4414, allocations: 215.2 kB / 0.6195 GB, free: 3.281 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.4416, allocations: 39.98 kB / 0.6195 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/0.4422, allocations: 39.97 kB / 0.6195 GB, free: 3.203 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.4423, allocations: 80.8 kB / 0.6196 GB, free: 3.125 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/0.4425, allocations: 83.86 kB / 0.6197 GB, free: 3.043 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008232/0.4433, allocations: 0.5986 MB / 0.6203 GB, free: 2.434 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4433, allocations: 4 kB / 0.6203 GB, free: 2.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001349/0.4447, allocations: 420 kB / 0.6207 GB, free: 2.02 MB / 462.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.003933/0.4486, allocations: 3.051 MB / 0.6237 GB, free: 14.88 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003884/0.4525, allocations: 2.374 MB / 0.626 GB, free: 12.41 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4525, allocations: 0 / 0.626 GB, free: 12.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.4537, allocations: 0.8392 MB / 0.6268 GB, free: 11.53 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.4549, allocations: 239.9 kB / 0.627 GB, free: 11.31 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02123/0.4761, allocations: 13.41 MB / 0.6401 GB, free: 13.11 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/0.4773, allocations: 0.8658 MB / 0.641 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001153/0.4784, allocations: 470.3 kB / 0.6414 GB, free: 11.74 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007818/0.4792, allocations: 0.5657 MB / 0.642 GB, free: 11.17 MB / 494.1 MB Notification: Performance of SimCode: time 1.783e-06/0.4792, allocations: 0 / 0.642 GB, free: 11.17 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0705/0.5497, allocations: 29 MB / 0.6703 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/14.86, allocations: 8 kB / 0.6703 GB, free: 14.48 MB / 0.5137 GB " [Timeout remaining time 645] (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 sys.exit(0), Time elapsed: 17.822788521065377] Failed to read output from testmodel.py, exit status != 0: 15.039797439007089 15.0584532 14.700464107 Calling exit ...