Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerInterval.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.001767/0.001767, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001929/0.001929, allocations: 215.9 kB / 23.07 MB, free: 4.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 207.7 MB / 233.9 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07201/0.07201, allocations: 14.4 MB / 300.6 MB, free: 7.203 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Ignoring simflag -noemit -emit_protected=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Electrical.Test.TestTransformerWithTapChangerInterval,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="$cse1|$cse2|busLoad.ERef|busLoad.PStart|busLoad.QStart|busLoad.R|busLoad.SNom|busLoad.UNom|busLoad.UPhaseStart|busLoad.URef|busLoad.UStart|busLoad.X|busLoad.Z.im|busLoad.Z.re|busLoad.i.im|busLoad.i.re|busLoad.localInit|busLoad.port.IBase|busLoad.port.IStart|busLoad.port.PStart|busLoad.port.QStart|busLoad.port.SBase|busLoad.port.SNom|busLoad.port.UBase|busLoad.port.UNom|busLoad.port.UPhaseStart|busLoad.port.UStart|busLoad.port.VBase|busLoad.port.VStart|busLoad.port.i.im|busLoad.port.i.re|busLoad.port.iStart.im|busLoad.port.iStart.re|busLoad.port.portVariablesPhases|busLoad.port.v.im|busLoad.port.v.re|busLoad.port.vStart.im|busLoad.port.vStart.re|busLoad.portVariablesPhases|busLoad.theta|busLoad.v.im|busLoad.v.re|infiniteBus.PStart|infiniteBus.QStart|infiniteBus.R|infiniteBus.SNom|infiniteBus.UFixed|infiniteBus.UNom|infiniteBus.UPhaseStart|infiniteBus.UStart|infiniteBus.X|infiniteBus.Z.im|infiniteBus.Z.re|infiniteBus.localInit|infiniteBus.port.IBase|infiniteBus.port.IStart|infiniteBus.port.PStart|infiniteBus.port.QStart|infiniteBus.port.SBase|infiniteBus.port.SNom|infiniteBus.port.UBase|infiniteBus.port.UNom|infiniteBus.port.UPhaseStart|infiniteBus.port.UStart|infiniteBus.port.VBase|infiniteBus.port.VStart|infiniteBus.port.i.im|infiniteBus.port.i.re|infiniteBus.port.iStart.im|infiniteBus.port.iStart.re|infiniteBus.port.portVariablesPhases|infiniteBus.port.v.im|infiniteBus.port.v.re|infiniteBus.port.vStart.im|infiniteBus.port.vStart.re|infiniteBus.portVariablesPhases|infiniteBus.thetaAux|infiniteBus.thetaFixed|infiniteBus.useThetaIn|infiniteBus.useUIn|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.omegaRefInternal|systemPowerGrids.referenceFrequency|time|trafo.B|trafo.G|trafo.K.1.|trafo.K.2.|trafo.K.3.|trafo.K.4.|trafo.K.5.|trafo.Ntap|trafo.PStartA|trafo.PStartB|trafo.QStartA|trafo.QStartB|trafo.R|trafo.SNom|trafo.UMax|trafo.UMin|trafo.UNomA|trafo.UNomB|trafo.UPhaseStartA|trafo.UPhaseStartB|trafo.UStartA|trafo.UStartB|trafo.X|trafo.YB.im|trafo.YB.re|trafo.actionSel|trafo.computePowerBalance|trafo.directAction|trafo.iA.im|trafo.iA.re|trafo.lockedStart|trafo.portA.IBase|trafo.portA.IStart|trafo.portA.PStart|trafo.portA.QStart|trafo.portA.SBase|trafo.portA.SNom|trafo.portA.UBase|trafo.portA.UNom|trafo.portA.UPhaseStart|trafo.portA.UStart|trafo.portA.VBase|trafo.portA.VStart|trafo.portA.iStart.im|trafo.portA.iStart.re|trafo.portA.portVariablesPhases|trafo.portA.vStart.im|trafo.portA.vStart.re|trafo.portB.IBase|trafo.portB.IStart|trafo.portB.PStart|trafo.portB.QStart|trafo.portB.SBase|trafo.portB.SNom|trafo.portB.UBase|trafo.portB.UNom|trafo.portB.UPhaseStart|trafo.portB.UStart|trafo.portB.VBase|trafo.portB.VStart|trafo.portB.iStart.im|trafo.portB.iStart.re|trafo.portB.portVariablesPhases|trafo.portB.vStart.im|trafo.portB.vStart.re|trafo.portVariablesPhases|trafo.reverseAction|trafo.runningStart|trafo.stateStart|trafo.t1st|trafo.tNext|trafo.tToStandardState|trafo.tapMax|trafo.tapMin|trafo.tapStart|trafo.vA.im|trafo.vA.re",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerInterval") translateModel(PowerGrids.Electrical.Test.TestTransformerWithTapChangerInterval,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="$cse1|$cse2|busLoad.ERef|busLoad.PStart|busLoad.QStart|busLoad.R|busLoad.SNom|busLoad.UNom|busLoad.UPhaseStart|busLoad.URef|busLoad.UStart|busLoad.X|busLoad.Z.im|busLoad.Z.re|busLoad.i.im|busLoad.i.re|busLoad.localInit|busLoad.port.IBase|busLoad.port.IStart|busLoad.port.PStart|busLoad.port.QStart|busLoad.port.SBase|busLoad.port.SNom|busLoad.port.UBase|busLoad.port.UNom|busLoad.port.UPhaseStart|busLoad.port.UStart|busLoad.port.VBase|busLoad.port.VStart|busLoad.port.i.im|busLoad.port.i.re|busLoad.port.iStart.im|busLoad.port.iStart.re|busLoad.port.portVariablesPhases|busLoad.port.v.im|busLoad.port.v.re|busLoad.port.vStart.im|busLoad.port.vStart.re|busLoad.portVariablesPhases|busLoad.theta|busLoad.v.im|busLoad.v.re|infiniteBus.PStart|infiniteBus.QStart|infiniteBus.R|infiniteBus.SNom|infiniteBus.UFixed|infiniteBus.UNom|infiniteBus.UPhaseStart|infiniteBus.UStart|infiniteBus.X|infiniteBus.Z.im|infiniteBus.Z.re|infiniteBus.localInit|infiniteBus.port.IBase|infiniteBus.port.IStart|infiniteBus.port.PStart|infiniteBus.port.QStart|infiniteBus.port.SBase|infiniteBus.port.SNom|infiniteBus.port.UBase|infiniteBus.port.UNom|infiniteBus.port.UPhaseStart|infiniteBus.port.UStart|infiniteBus.port.VBase|infiniteBus.port.VStart|infiniteBus.port.i.im|infiniteBus.port.i.re|infiniteBus.port.iStart.im|infiniteBus.port.iStart.re|infiniteBus.port.portVariablesPhases|infiniteBus.port.v.im|infiniteBus.port.v.re|infiniteBus.port.vStart.im|infiniteBus.port.vStart.re|infiniteBus.portVariablesPhases|infiniteBus.thetaAux|infiniteBus.thetaFixed|infiniteBus.useThetaIn|infiniteBus.useUIn|systemPowerGrids.fNom|systemPowerGrids.initOpt|systemPowerGrids.omegaNom|systemPowerGrids.omegaRef|systemPowerGrids.omegaRefInternal|systemPowerGrids.referenceFrequency|time|trafo.B|trafo.G|trafo.K.1.|trafo.K.2.|trafo.K.3.|trafo.K.4.|trafo.K.5.|trafo.Ntap|trafo.PStartA|trafo.PStartB|trafo.QStartA|trafo.QStartB|trafo.R|trafo.SNom|trafo.UMax|trafo.UMin|trafo.UNomA|trafo.UNomB|trafo.UPhaseStartA|trafo.UPhaseStartB|trafo.UStartA|trafo.UStartB|trafo.X|trafo.YB.im|trafo.YB.re|trafo.actionSel|trafo.computePowerBalance|trafo.directAction|trafo.iA.im|trafo.iA.re|trafo.lockedStart|trafo.portA.IBase|trafo.portA.IStart|trafo.portA.PStart|trafo.portA.QStart|trafo.portA.SBase|trafo.portA.SNom|trafo.portA.UBase|trafo.portA.UNom|trafo.portA.UPhaseStart|trafo.portA.UStart|trafo.portA.VBase|trafo.portA.VStart|trafo.portA.iStart.im|trafo.portA.iStart.re|trafo.portA.portVariablesPhases|trafo.portA.vStart.im|trafo.portA.vStart.re|trafo.portB.IBase|trafo.portB.IStart|trafo.portB.PStart|trafo.portB.QStart|trafo.portB.SBase|trafo.portB.SNom|trafo.portB.UBase|trafo.portB.UNom|trafo.portB.UPhaseStart|trafo.portB.UStart|trafo.portB.VBase|trafo.portB.VStart|trafo.portB.iStart.im|trafo.portB.iStart.re|trafo.portB.portVariablesPhases|trafo.portB.vStart.im|trafo.portB.vStart.re|trafo.portVariablesPhases|trafo.reverseAction|trafo.runningStart|trafo.stateStart|trafo.t1st|trafo.tNext|trafo.tToStandardState|trafo.tapMax|trafo.tapMin|trafo.tapStart|trafo.vA.im|trafo.vA.re",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerInterval") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.331e-05, allocations: 2.281 kB / 425.1 MB, free: 35.45 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerInterval): time 0.006264/0.006288, allocations: 6.821 MB / 431.9 MB, free: 28.59 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/Electrical/BaseClasses/TwoPortAC.mo:4:3-4:107:writable] Warning: Parameter PowerGrids.Electrical.Branches.TransformerWithTapChangerInterval.UNomA has no value, and is fixed during initialization (fixed=true), using available start value (start=400e3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/Electrical/BaseClasses/TwoPortAC.mo:6:3-6:94:writable] Warning: Parameter PowerGrids.Electrical.Branches.TransformerWithTapChangerInterval.SNom has no value, and is fixed during initialization (fixed=true), using available start value (start=100e6) as default value. Notification: Performance of NFInst.instExpressions: time 0.00861/0.0149, allocations: 7.692 MB / 439.6 MB, free: 20.88 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.01616, allocations: 27.81 kB / 439.6 MB, free: 20.85 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.01742, allocations: 397.7 kB / 440 MB, free: 20.46 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003212/0.02063, allocations: 1.582 MB / 441.6 MB, free: 18.88 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.02174, allocations: 0.7047 MB / 442.3 MB, free: 18.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001871/0.02361, allocations: 2.581 MB / 444.9 MB, free: 15.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.02379, allocations: 70.14 kB / 444.9 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008282/0.02462, allocations: 0.8445 MB / 445.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006537/0.02527, allocations: 0.7818 MB / 446.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.02537, allocations: 76 kB / 446.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007865/0.02616, allocations: 447.7 kB / 447.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001573/0.02773, allocations: 3.072 MB / 450.2 MB, free: 10.27 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008124/0.02855, allocations: 1.686 MB / 451.8 MB, free: 8.562 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.02873, allocations: 108 kB / 452 MB, free: 8.457 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0002156/0.02895, allocations: 99.73 kB / 452 MB, free: 8.359 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 (146) * Number of variables: 205 (205) Notification: Performance of [SIM] Bindings: time 0.005298/0.03424, allocations: 8.224 MB / 460.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0009155/0.03516, allocations: 0.6549 MB / 460.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.007694/0.04285, allocations: 6.329 MB / 467.3 MB, free: 8.867 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00109/0.04394, allocations: 0.6273 MB / 467.9 MB, free: 8.168 MB / 334.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.005501/0.04945, allocations: 3.98 MB / 471.9 MB, free: 3.891 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0009206/0.05037, allocations: 0.6116 MB / 472.5 MB, free: 3.211 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005429/0.05091, allocations: 487.7 kB / 473 MB, free: 2.695 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001305/0.05221, allocations: 1.233 MB / 474.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.001258/0.05347, allocations: 0.9017 MB / 475.1 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.002014/0.05549, allocations: 1.686 MB / 476.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.005064/0.06055, allocations: 3.563 MB / 480.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003379/0.06393, allocations: 3.528 MB / 483.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.0029/0.06683, allocations: 1.54 MB / 485.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.006172/0.073, allocations: 6.259 MB / 491.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of [INI] Partitioning: time 0.000203/0.0732, allocations: 88.11 kB / 491.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of [INI] Cleanup: time 0.0008189/0.07402, allocations: 0.8233 MB / 492.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of [INI] Causalize: time 0.01099/0.08501, allocations: 7.799 MB / 0.4886 GB, free: 6.84 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 0.000621/0.08563, allocations: 0.5344 MB / 0.4892 GB, free: 6.305 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 1.042e-06/0.08564, allocations: 0 / 0.4892 GB, free: 6.305 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001346/0.08698, allocations: 0.9003 MB / 0.49 GB, free: 5.383 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.13e-05/0.08699, allocations: 5.25 kB / 0.49 GB, free: 5.379 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 0.0006231/0.08762, allocations: 0.5969 MB / 0.4906 GB, free: 4.781 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 2.729e-05/0.08764, allocations: 8 kB / 0.4906 GB, free: 4.773 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 0.006026/0.09367, allocations: 4.476 MB / 0.495 GB, free: 304 kB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.006406/0.1001, allocations: 4.944 MB / 0.4998 GB, free: 11.23 MB / 382.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 6 (6) {trafo.tTapMoved, trafo.tap, trafo.state, trafo.tValueInRangeWhileRunning, trafo.tValueAboveMaxWhileRunning, trafo.tValueUnderMinWhileRunning} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 44 (44) {trafo.locked, trafo.running, trafo.lookingToIncreaseTap, trafo.lookingToDecreaseTap, trafo.valueUnderMin, trafo.valueAboveMax, trafo.valueInRange, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 147 (scalar:147, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:0, when:6, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 202 (scalar:202, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 0.0001552/0.1002, allocations: 77.09 kB / 0.4999 GB, free: 11.16 MB / 382.1 MB Notification: Performance of SimCode: time 0.009051/0.1093, allocations: 5.905 MB / 0.5057 GB, free: 5.125 MB / 382.1 MB Notification: Performance of Templates: time 0.03424/0.1435, allocations: 19.8 MB / 0.525 GB, free: 1.32 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerInterval.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerInterval.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerInterval.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerInterval.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerInterval.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerInterval -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestTransformerWithTapChangerInterval.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.908834943023976] Failed to read output from testmodel.py, exit status != 0: 0.3482899639639072 0.35941690200000004 0.328305591 Calling exit ...