Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer.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.0009686/0.0009686, allocations: 100.4 kB / 19.72 MB, free: 428 kB / 13.93 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.0009302/0.0009302, allocations: 218.5 kB / 23.02 MB, free: 2.961 MB / 13.93 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 0.9328/0.9328, allocations: 207.7 MB / 233.9 MB, free: 11.47 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.4867/0.4867, allocations: 135.3 MB / 421.5 MB, free: 2.551 MB / 346.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/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 -s=euler since the model is compiled with --daeMode, which needs -s=ida Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer,fileNamePrefix="Dynawo_dev_Dynawo_Examples_IllustrativeExamples_DynaFlow_PhaseShifterTransformer",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer,fileNamePrefix="Dynawo_dev_Dynawo_Examples_IllustrativeExamples_DynaFlow_PhaseShifterTransformer",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.001708/0.001708, allocations: 86.22 kB / 0.5979 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3315, allocations: 84.29 MB / 0.6802 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer): time 0.00337/0.3349, allocations: 4.06 MB / 0.6842 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002657/0.3375, allocations: 2.671 MB / 0.6868 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.3377, allocations: 7.594 kB / 0.6868 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003563/0.3381, allocations: 180.6 kB / 0.687 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004237/0.3385, allocations: 211.2 kB / 0.6872 GB, free: 0.6172 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Examples/IllustrativeExamples/DynaFlow/PhaseShifterTransformer.mo:71:3-73:11:writable] Warning: In relation shiftController01.tap <> pre(shiftController01.tap), <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Electrical/Transformers/TransformersVariableTap/TransformerPhaseTapChanger.mo:49:3-56:11:writable] Warning: In relation tfo01.tap <> pre(tfo01.tap), <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.3398, allocations: 1.013 MB / 0.6882 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0007987/0.3406, allocations: 0.9364 MB / 0.6891 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.3408, allocations: 119.3 kB / 0.6892 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004114/0.3412, allocations: 409.2 kB / 0.6896 GB, free: 15 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004134/0.3417, allocations: 408.4 kB / 0.69 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.489e-05/0.3418, allocations: 77.56 kB / 0.6901 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004769/0.3422, allocations: 269.2 kB / 0.6903 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.3424, allocations: 212.6 kB / 0.6905 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.3426, allocations: 335.1 kB / 0.6908 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0009032/0.3435, allocations: 1.06 MB / 0.6919 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3435, allocations: 0 / 0.6919 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3435, allocations: 0 / 0.6919 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.3435, allocations: 0 / 0.6919 GB, free: 13.46 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002932/0.3464, allocations: 1.653 MB / 0.6935 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.3465, allocations: 12.03 kB / 0.6935 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/0.3466, allocations: 111.6 kB / 0.6936 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.3484, allocations: 484 kB / 0.6941 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007651/0.3491, allocations: 0.5595 MB / 0.6946 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001696/0.3493, allocations: 385.5 kB / 0.695 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.723e-05/0.3494, allocations: 67.98 kB / 0.695 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.3508, allocations: 1.093 MB / 0.6961 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3509, allocations: 3.938 kB / 0.6961 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.992e-05/0.3509, allocations: 31.97 kB / 0.6961 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.3509, allocations: 12 kB / 0.6962 GB, free: 9.086 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009552/0.3519, allocations: 0.7885 MB / 0.6969 GB, free: 8.297 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00379/0.3557, allocations: 2.762 MB / 0.6996 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009728/0.3567, allocations: 0.6341 MB / 0.7002 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005799/0.3572, allocations: 462.6 kB / 0.7007 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.004e-05/0.3573, allocations: 16.66 kB / 0.7007 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/0.3584, allocations: 1.024 MB / 0.7017 GB, free: 3.309 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=102): time 2.675e-06/0.3584, allocations: 0 / 0.7017 GB, free: 3.309 MB / 0.5105 GB Notification: Performance of matching and sorting (n=102): time 0.004017/0.3624, allocations: 2.357 MB / 0.704 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.3624, allocations: 76.39 kB / 0.7041 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004431/0.3629, allocations: 0.5183 MB / 0.7046 GB, free: 328 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.62e-05/0.3629, allocations: 61.69 kB / 0.7046 GB, free: 260 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.3631, allocations: 297.4 kB / 0.7049 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.3633, allocations: 305.6 kB / 0.7052 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.3635, allocations: 182.9 kB / 0.7054 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.3636, allocations: 394.7 kB / 0.7058 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004468/0.364, allocations: 402.5 kB / 0.7061 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005235/0.3646, allocations: 0.6096 MB / 0.7067 GB, free: 14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/0.3673, allocations: 2.089 MB / 0.7088 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.3673, allocations: 4 kB / 0.7088 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002628/0.3699, allocations: 1.622 MB / 0.7104 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.37, allocations: 11.94 kB / 0.7104 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.37, allocations: 8 kB / 0.7104 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006315/0.3706, allocations: 483.2 kB / 0.7108 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.3709, allocations: 115.8 kB / 0.711 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00397/0.3748, allocations: 3.713 MB / 0.7146 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005614/0.3754, allocations: 99.48 kB / 0.7147 GB, free: 5.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.669e-05/0.3755, allocations: 43.98 kB / 0.7147 GB, free: 5.617 MB / 0.5261 GB Warning: Assuming fixed start value for the following 19 variables: load01.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = load01.State0 fixed = true ) \"Load connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) tfo01.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = tfo01.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line01.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line01.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line02.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line02.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) tfo01.tap:DISCRETE(flow=false start = /*Real*/(tfo01.Tap0) fixed = true ) \"Current transformer tap (between 0 and NbTap - 1)\" type: Real load01.running:DISCRETE(flow=false start = load01.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean tfo01.running:DISCRETE(flow=false start = tfo01.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean tfo01.alphaTfo:DISCRETE(start = tfo01.AlphaTfo0 unit = \"rad\" fixed = true ) \"Transformation phase shift in rad\" type: Real line01.running:DISCRETE(flow=false start = line01.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line02.running:DISCRETE(flow=false start = line02.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean shiftController01.running:DISCRETE(flow=false start = shiftController01.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean shiftController01.tap:DISCRETE(flow=false start = /*Real*/(shiftController01.tap0) fixed = true ) \"Current tap\" type: Real shiftController01.valueAboveMax:DISCRETE(start = false fixed = true protected = true ) \"True if the monitored signal is above the maximum limit\" type: Boolean shiftController01.tValueAboveMaxWhileRunning:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the monitored signal went above the maximum limit and the tap-changer/phase-shifter is running, in s\" type: Real shiftController01.tTapUp:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the tap has been increased in s\" type: Real shiftController01.tTapDown:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the tap has been decreased in s\" type: Real shiftController01.tValueUnderMinWhileRunning:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the monitored signal went under the minimum limit and the tap-changer/phase-shifter is running, in s\" type: Real shiftController01.valueUnderMin:DISCRETE(fixed = true protected = true ) \"True if the monitored signal is under the minimum limit\" type: Boolean shiftController01.state:DISCRETE(min = shiftController01.State.MoveDownN max = shiftController01.State.Locked start = shiftController01.state0 fixed = true ) \"State of the tap-changer/phase-shifter\" type: enumeration(MoveDownN, MoveDown1, WaitingToMoveDown, Standard, WaitingToMoveUp, MoveUp1, MoveUpN, Locked) Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 83 ($PRE.load01.state,load01.state,$PRE.tfo01.state,tfo01.state,$PRE.line01.state,line01.state,$PRE.line02.state,line02.state,$PRE.tfo01.tap,tfo01.tap,$whenCondition24,shiftController01.switchOffSignal2,shiftController01.switchOffSignal1,line02.switchOffSignal2,line01.switchOffSignal2,line02.switchOffSignal1,line01.switchOffSignal1,tfo01.switchOffSignal2,tfo01.switchOffSignal1,load01.switchOffSignal2,load01.switchOffSignal1,$PRE.load01.running,$PRE.tfo01.running,$PRE.tfo01.alphaTfo,$PRE.line01.running,$PRE.line02.running,$PRE.shiftController01.running,$PRE.shiftController01.tap,$PRE.shiftController01.valueAboveMax,$PRE.shiftController01.tValueAboveMaxWhileRunning,$PRE.shiftController01.tTapUp,$PRE.shiftController01.tTapDown,$PRE.shiftController01.tValueUnderMinWhileRunning,$PRE.shiftController01.valueUnderMin,$PRE.shiftController01.state,shiftController01.tValueUnderMinWhileRunning,shiftController01.valueUnderMin,shiftController01.tTapDown,shiftController01.tTapUp,shiftController01.tValueAboveMaxWhileRunning,shiftController01.lookingToDecreaseTap,shiftController01.lookingToIncreaseTap,shiftController01.valueAboveMax,shiftController01.state,shiftController01.locked,shiftController01.tap,shiftController01.running,line02.running,line01.running,tfo01.alphaTfo,tfo01.running,load01.running,$whenCondition1,$whenCondition2,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition15,$whenCondition17,$whenCondition16,$whenCondition18,$whenCondition20,$whenCondition19,$whenCondition21,$whenCondition23,$whenCondition22,$whenCondition25,$whenCondition27,$whenCondition26,$whenCondition29,$whenCondition28,$whenCondition31,$whenCondition30,shiftController01.AutomatonExists) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(14,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005337/0.376, allocations: 357.3 kB / 0.7151 GB, free: 5.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.3761, allocations: 95.47 kB / 0.7152 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002722/0.3789, allocations: 1.802 MB / 0.7169 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.3789, allocations: 19.98 kB / 0.7169 GB, free: 3.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.3789, allocations: 0 / 0.7169 GB, free: 3.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.3789, allocations: 3.984 kB / 0.7169 GB, free: 3.336 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003007/0.3819, allocations: 2.681 MB / 0.7196 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3819, allocations: 0 / 0.7196 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.382, allocations: 55.86 kB / 0.7196 GB, free: 0.543 MB / 0.5261 GB Warning: The tearing heuristic was not able to avoid discrete iteration variables because otherwise the system could not have been torn. This may lead to problems during simulation. Notification: Performance of postOpt tearingSystem (simulation): time 0.000912/0.3829, allocations: 0.7621 MB / 0.7204 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-05/0.383, allocations: 39.95 kB / 0.7204 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001781/0.3832, allocations: 40.77 kB / 0.7204 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3832, allocations: 0 / 0.7204 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.3852, allocations: 1.76 MB / 0.7221 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.3854, allocations: 91.27 kB / 0.7222 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.3855, allocations: 47.91 kB / 0.7223 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.3858, allocations: 55.94 kB / 0.7223 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/0.386, allocations: 128.8 kB / 0.7225 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.572e-05/0.3861, allocations: 75.94 kB / 0.7225 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002773/0.3864, allocations: 342.9 kB / 0.7229 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.3864, allocations: 0 / 0.7229 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006729/0.387, allocations: 279.9 kB / 0.7231 GB, free: 12.92 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 53 ($whenCondition30,$whenCondition31,$whenCondition28,$whenCondition29,$whenCondition26,$whenCondition27,$whenCondition25,$whenCondition24,$whenCondition22,$whenCondition23,$whenCondition21,$whenCondition19,$whenCondition20,$whenCondition18,$whenCondition16,$whenCondition17,$whenCondition15,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition2,$whenCondition1,load01.running,load01.state,tfo01.running,tfo01.state,tfo01.alphaTfo,tfo01.tap,line01.running,line01.state,line02.running,line02.state,shiftController01.running,shiftController01.tap,shiftController01.locked,shiftController01.state,shiftController01.valueAboveMax,shiftController01.lookingToIncreaseTap,shiftController01.lookingToDecreaseTap,shiftController01.tValueAboveMaxWhileRunning,shiftController01.tTapUp,shiftController01.tTapDown,shiftController01.valueUnderMin,shiftController01.tValueUnderMinWhileRunning) * Number of discrete states: 14 (load01.running,tfo01.running,line01.running,line02.running,shiftController01.state,shiftController01.tTapUp,shiftController01.tap,shiftController01.tTapDown,shiftController01.running,shiftController01.valueUnderMin,tfo01.tap,shiftController01.tValueUnderMinWhileRunning,shiftController01.valueAboveMax,shiftController01.tValueAboveMaxWhileRunning) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003481/0.3905, allocations: 3.09 MB / 0.7261 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001948/0.3925, allocations: 1.36 MB / 0.7275 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3925, allocations: 4 kB / 0.7275 GB, free: 8.43 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Electrical/Controls/Transformers/BaseClasses/BaseTapChangerPhaseShifterInterval.mo:38:5-38:65:writable] Error: The language feature non-linear equations within when-equations is not supported. Suggested workaround: Perform non-linear operations outside the when-equation (this is slower, but works) Error: Internal error function createNonlinearResidualEquations failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:3566:9-3566:50:writable] Error: Internal error function createOdeSystem failed for component torn nonlinear Equationsystem{{{63:81}, {62:82}, {41:83}, {68:20}, {71:58}, {69:59}, {31:21}, {45:71}, {46:37}, {47:94}, {48:38}, {51:102}, {49:103}, {56:74}, {54:75}, {43:76}, {59:77}, {58:78}}, {42, 57, 53, 55, 60, 50, 32, 34, 33, 35, 36, 37, 38, 39, 52, 44, 61, 40, 64, 66, 65, 67, 70, 72:6, 2, 9, 3, 8, 7, 12, 32, 62, 61, 31, 40, 39, 1, 63, 34, 33, 42, 54, 43, 22, 23, 53, 64} Size: 24 [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:1569:5-1569:72:writable] Error: Internal error SimCodeUtil.createEquationsForSystems failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6849504113197327]