Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTransformerWithTapChangerInterval.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 110.3 kB / 19.07 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 196.5 kB / 22.25 MB, free: 68 kB / 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.6 MB / 232.9 MB, free: 11 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.08206/0.08206, allocations: 14.4 MB / 299.3 MB, free: 7.969 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_symb_jac_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_symb_jac_PowerGrids.Electrical.Test.TestTransformerWithTapChangerInterval") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.513e-05/3.513e-05, allocations: 3.688 kB / 423.2 MB, free: 36.39 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerWithTapChangerInterval): time 0.007835/0.00787, allocations: 7.722 MB / 430.9 MB, free: 28.62 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.01236/0.02023, allocations: 8.524 MB / 439.4 MB, free: 20.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.02187, allocations: 15.94 kB / 439.4 MB, free: 20.05 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.02356, allocations: 441.5 kB / 439.9 MB, free: 19.62 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005092/0.02865, allocations: 1.658 MB / 441.5 MB, free: 17.97 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.03022, allocations: 0.7211 MB / 442.2 MB, free: 17.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004063/0.03428, allocations: 2.597 MB / 444.8 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002878/0.03457, allocations: 69.95 kB / 444.9 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.03598, allocations: 0.8406 MB / 445.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008127/0.03679, allocations: 0.8482 MB / 446.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.03689, allocations: 72 kB / 446.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.03828, allocations: 459.7 kB / 447.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001775/0.04005, allocations: 2.835 MB / 449.9 MB, free: 9.496 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007232/0.04078, allocations: 1.434 MB / 451.4 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002681/0.04104, allocations: 195.5 kB / 451.6 MB, free: 7.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0003141/0.04136, allocations: 91.75 kB / 451.7 MB, free: 7.762 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 Bindings: time 0.005387/0.04674, allocations: 6.19 MB / 457.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0006193/0.04736, allocations: 0.517 MB / 458.4 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of Early Inline: time 0.005778/0.05314, allocations: 4.533 MB / 462.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of Simplify 1: time 0.0009482/0.05409, allocations: 0.5341 MB / 463.4 MB, free: 11.69 MB / 334.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of Alias: time 0.004957/0.05905, allocations: 2.436 MB / 465.9 MB, free: 8.953 MB / 334.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1980:9-1981:55:writable] Error: Internal error NFCeval.evalBuiltinCall: unimplemented case for pre Notification: Performance of Simplify 2: time 0.001138/0.06018, allocations: 0.5422 MB / 466.4 MB, free: 8.371 MB / 334.1 MB Notification: Performance of Remove Stream: time 0.0005439/0.06073, allocations: 455.2 kB / 466.9 MB, free: 7.887 MB / 334.1 MB Notification: Performance of Detect States: time 0.001382/0.06211, allocations: 1.052 MB / 467.9 MB, free: 6.785 MB / 334.1 MB Notification: Performance of Events: time 0.001789/0.0639, allocations: 0.8714 MB / 468.8 MB, free: 5.961 MB / 334.1 MB Notification: Performance of Partitioning: time 0.002213/0.06611, allocations: 1.335 MB / 470.1 MB, free: 4.598 MB / 334.1 MB Notification: Performance of Causalize: time 0.007742/0.07386, allocations: 4.63 MB / 474.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.002838/0.07669, allocations: 2.185 MB / 476.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of Simplify: time 0.002731/0.07942, allocations: 1.354 MB / 478.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of Inline: time 0.005192/0.08462, allocations: 4.206 MB / 482.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0002209/0.08484, allocations: 83.75 kB / 482.6 MB, free: 7.902 MB / 350.1 MB Notification: Performance of Cleanup: time 0.0009002/0.08574, allocations: 0.7803 MB / 483.4 MB, free: 7.121 MB / 350.1 MB Notification: Performance of Causalize: time 0.01512/0.1009, allocations: 9.112 MB / 492.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of Tearing: time 0.005042/0.1059, allocations: 3.193 MB / 495.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of Initialization: time 5e-06/0.1059, allocations: 7.938 kB / 495.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of Remove Dummies: time 3.356e-05/0.1059, allocations: 1.312 kB / 495.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of Tearing: time 0.004998/0.1109, allocations: 3.038 MB / 498.7 MB, free: 7.512 MB / 366.1 MB Notification: Performance of Categorize: time 5.273e-05/0.111, allocations: 8 kB / 498.7 MB, free: 7.504 MB / 366.1 MB Notification: Performance of Solve: time 0.001936/0.1129, allocations: 0.5239 MB / 499.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of Jacobian: time 6.663e-06/0.1129, allocations: 0 / 499.2 MB, free: 6.965 MB / 366.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: ......... 2 * 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: ................. 42 (42) {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: ........... 145 (scalar:145, 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: ........... 198 (scalar:198, 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.0001359/0.1131, allocations: 76.67 kB / 499.3 MB, free: 6.891 MB / 366.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.1050201151520014]