Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl.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.001546/0.001546, 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.001968/0.001968, allocations: 217.8 kB / 23.02 MB, free: 2.957 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.99/0.99, allocations: 207.7 MB / 233.9 MB, free: 11.46 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.5006/0.5006, allocations: 135.3 MB / 421.5 MB, free: 2.648 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.CoordinatedVControl,fileNamePrefix="Dynawo_dev_Dynawo_Examples_IllustrativeExamples_DynaFlow_CoordinatedVControl",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl,fileNamePrefix="Dynawo_dev_Dynawo_Examples_IllustrativeExamples_DynaFlow_CoordinatedVControl",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.001635/0.001635, allocations: 90.89 kB / 0.5979 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3358, allocations: 84.29 MB / 0.6802 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Dynawo.Examples.IllustrativeExamples.DynaFlow.CoordinatedVControl): time 0.003931/0.3398, allocations: 4.033 MB / 0.6842 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004908/0.3447, allocations: 5.001 MB / 0.689 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004699/0.3451, allocations: 12.38 kB / 0.6891 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006198/0.3458, allocations: 274.9 kB / 0.6893 GB, free: 14.98 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0007592/0.3465, allocations: 296.8 kB / 0.6896 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.3483, allocations: 1.157 MB / 0.6907 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001142/0.3494, allocations: 1.108 MB / 0.6918 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.3496, allocations: 107.7 kB / 0.6919 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005287/0.3501, allocations: 473.9 kB / 0.6924 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005941/0.3507, allocations: 461.6 kB / 0.6928 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.3509, allocations: 84.84 kB / 0.6929 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005914/0.3515, allocations: 309.2 kB / 0.6932 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002417/0.3517, allocations: 259.1 kB / 0.6934 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002624/0.352, allocations: 378 kB / 0.6938 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.3531, allocations: 1.271 MB / 0.695 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3532, allocations: 0 / 0.695 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3532, allocations: 4 kB / 0.695 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.039e-05/0.3532, allocations: 7.938 kB / 0.695 GB, free: 10.4 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003407/0.3566, allocations: 1.825 MB / 0.6968 GB, free: 8.523 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3566, allocations: 12.03 kB / 0.6968 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.3568, allocations: 126.7 kB / 0.697 GB, free: 8.379 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.358, allocations: 364 kB / 0.6973 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00061/0.3586, allocations: 0.5171 MB / 0.6978 GB, free: 7.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003411/0.3589, allocations: 0.9021 MB / 0.6987 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-05/0.359, allocations: 71.98 kB / 0.6988 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.3604, allocations: 0.986 MB / 0.6997 GB, free: 5.266 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.3604, allocations: 4 kB / 0.6997 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.088e-05/0.3605, allocations: 35.98 kB / 0.6998 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.3605, allocations: 16 kB / 0.6998 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009891/0.3615, allocations: 0.7572 MB / 0.7005 GB, free: 4.453 MB / 0.5105 GB 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.002947/0.3644, allocations: 3.159 MB / 0.7036 GB, free: 1.191 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.3655, allocations: 0.7621 MB / 0.7043 GB, free: 396 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004756/0.366, allocations: 414.3 kB / 0.7047 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.3661, allocations: 24.58 kB / 0.7048 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009428/0.367, allocations: 0.9568 MB / 0.7057 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=116): time 2.785e-06/0.367, allocations: 0 / 0.7057 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=116): time 0.003512/0.3705, allocations: 2.131 MB / 0.7078 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.101e-05/0.3706, allocations: 230.6 kB / 0.708 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007576/0.3714, allocations: 0.7854 MB / 0.7088 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.259e-05/0.3714, allocations: 66.09 kB / 0.7088 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.3717, allocations: 377.3 kB / 0.7092 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/0.3719, allocations: 337.4 kB / 0.7095 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/0.3722, allocations: 230.9 kB / 0.7097 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3724, allocations: 410.7 kB / 0.7101 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006797/0.3731, allocations: 0.4891 MB / 0.7106 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007449/0.3738, allocations: 0.7151 MB / 0.7113 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003687/0.3775, allocations: 2.244 MB / 0.7135 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/0.3775, allocations: 0 / 0.7135 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003012/0.3805, allocations: 2.02 MB / 0.7155 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/0.3806, allocations: 44.97 kB / 0.7155 GB, free: 4.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.3806, allocations: 8 kB / 0.7155 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008538/0.3814, allocations: 0.584 MB / 0.7161 GB, free: 4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.3817, allocations: 127.7 kB / 0.7162 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.3841, allocations: 3.783 MB / 0.7199 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000613/0.3847, allocations: 159.3 kB / 0.72 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.132e-05/0.3848, allocations: 48 kB / 0.7201 GB, free: 15.63 MB / 0.5417 GB Warning: Assuming fixed start value for the following 19 variables: Line1bis.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Line1bis.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Line1.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Line1.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Generator1.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Generator1.State0 fixed = true ) \"Generator connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Generator2.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = Generator2.State0 fixed = true ) \"Generator connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) Generator1.running:DISCRETE(flow=false start = Generator1.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Generator1.limUQDown:DISCRETE(flow=false start = Generator1.limUQDown0 fixed = true ) \"Whether the minimum reactive power limits are reached or not (from generator voltage regulator)\" type: Boolean Generator1.limUQUp:DISCRETE(flow=false start = Generator1.limUQUp0 fixed = true ) \"Whether the maximum reactive power limits are reached or not (from generator voltage regulator)\" type: Boolean Generator2.running:DISCRETE(flow=false start = Generator2.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Generator2.limUQDown:DISCRETE(flow=false start = Generator2.limUQDown0 fixed = true ) \"Whether the minimum reactive power limits are reached or not (from generator voltage regulator)\" type: Boolean Generator2.limUQUp:DISCRETE(flow=false start = Generator2.limUQUp0 fixed = true ) \"Whether the maximum reactive power limits are reached or not (from generator voltage regulator)\" type: Boolean Line1.running:DISCRETE(flow=false start = Line1.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Line1bis.running:DISCRETE(flow=false start = Line1bis.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean SignalNQ.deltaUInt:VARIABLE(start = 0.0 unit = \"kV\" fixed = true protected = true ) \"State of the integrator in kV\" type: Real SignalNQ.frozen:DISCRETE(start = SignalNQ.Frozen0 fixed = true protected = true ) \"True if the integration is frozen\" type: Boolean DisconnectLine.state1:DISCRETE(flow=false fixed = true ) \"Current state\" type: Boolean Generator2.qStatus:DISCRETE(min = Generator2.QStatus.Standard max = Generator2.QStatus.GenerationMax start = Generator2.qStatus0 fixed = true protected = true ) \"Voltage regulation status: Standard, AbsorptionMax, GenerationMax\" type: enumeration(Standard, AbsorptionMax, GenerationMax) Generator2.pStatus:DISCRETE(min = Generator2.PStatus.Standard max = Generator2.PStatus.LimitPMax start = Generator2.PStatus.Standard fixed = true protected = true ) \"Active power / frequency regulation status: Standard, LimitPMin, LimitPMax\" type: enumeration(Standard, LimitPMin, LimitPMax) Generator1.qStatus:DISCRETE(min = Generator1.QStatus.Standard max = Generator1.QStatus.GenerationMax start = Generator1.qStatus0 fixed = true protected = true ) \"Voltage regulation status: Standard, AbsorptionMax, GenerationMax\" type: enumeration(Standard, AbsorptionMax, GenerationMax) Generator1.pStatus:DISCRETE(min = Generator1.PStatus.Standard max = Generator1.PStatus.LimitPMax start = Generator1.PStatus.Standard fixed = true protected = true ) \"Active power / frequency regulation status: Standard, LimitPMin, LimitPMax\" type: enumeration(Standard, LimitPMin, LimitPMax) Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 91 ($PRE.Line1bis.state,Line1bis.state,$PRE.Line1.state,Line1.state,$whenCondition28,$PRE.Generator1.state,Generator1.converter.u,Generator1.state,$PRE.Generator2.state,Generator2.converter.u,Generator2.state,Line1bis.switchOffSignal1,Line1.switchOffSignal2,Line1.switchOffSignal1,Generator2.switchOffSignal3,Generator2.switchOffSignal2,Generator2.switchOffSignal1,Generator1.switchOffSignal3,Generator1.switchOffSignal2,Generator1.switchOffSignal1,Generator2_INIT.qStatus0,Generator2_INIT.limUQUp0,Generator2_INIT.limUQDown0,Generator1_INIT.qStatus0,Generator1_INIT.limUQUp0,Generator1_INIT.limUQDown0,$PRE.Generator1.running,$PRE.Generator1.limUQDown,$PRE.Generator1.limUQUp,$PRE.Generator2.running,$PRE.Generator2.limUQDown,$PRE.Generator2.limUQUp,$PRE.Line1.running,$PRE.Line1bis.running,$PRE.SignalNQ.frozen,$PRE.DisconnectLine.state1,$PRE.Generator2.qStatus,$PRE.Generator2.pStatus,$PRE.Generator1.qStatus,$PRE.Generator1.pStatus,DisconnectLine.state1,SignalNQ.frozen,SignalNQ.blockedUp,SignalNQ.blockedDown,Line1bis.running,Line1.running,Generator2.qStatus,Generator2.pStatus,Generator2.limUQUp,Generator2.limUQDown,Generator2.running,Generator1.qStatus,Generator1.pStatus,Generator1.limUQUp,Generator1.limUQDown,Generator1.running,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition9,$whenCondition8,$whenCondition10,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition19,$whenCondition18,$whenCondition20,$whenCondition22,$whenCondition21,$whenCondition23,$whenCondition25,$whenCondition24,$whenCondition27,$whenCondition26,$whenCondition31,$whenCondition30,$whenCondition29,$whenCondition34,$whenCondition33,$whenCondition32,$whenCondition36,$whenCondition35) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(13,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000843/0.3857, allocations: 383.4 kB / 0.7205 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.3858, allocations: 119.3 kB / 0.7206 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.3873, allocations: 1.387 MB / 0.7219 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.3873, allocations: 12 kB / 0.7219 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3874, allocations: 4 kB / 0.7219 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3874, allocations: 7.984 kB / 0.722 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003061/0.3904, allocations: 2.773 MB / 0.7247 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.3904, allocations: 7.938 kB / 0.7247 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.3906, allocations: 59.91 kB / 0.7247 GB, free: 10.81 MB / 0.5417 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.0008684/0.3915, allocations: 0.6394 MB / 0.7253 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-05/0.3915, allocations: 43.89 kB / 0.7254 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.3932, allocations: 2.642 MB / 0.728 GB, free: 7.242 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3932, allocations: 0 / 0.728 GB, free: 7.242 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/0.396, allocations: 2.255 MB / 0.7302 GB, free: 4.945 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/0.3962, allocations: 111.2 kB / 0.7303 GB, free: 4.836 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.744e-05/0.3963, allocations: 35.97 kB / 0.7303 GB, free: 4.801 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/0.3967, allocations: 87.91 kB / 0.7304 GB, free: 4.715 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002267/0.3969, allocations: 132.7 kB / 0.7305 GB, free: 4.586 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.98e-05/0.397, allocations: 63.95 kB / 0.7306 GB, free: 4.523 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005271/0.3975, allocations: 0.5107 MB / 0.7311 GB, free: 4.008 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3975, allocations: 0 / 0.7311 GB, free: 4.008 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008002/0.3983, allocations: 311.8 kB / 0.7314 GB, free: 3.703 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (SignalNQ.deltaUInt) * Number of discrete variables: 62 ($whenCondition35,$whenCondition36,$whenCondition32,$whenCondition33,$whenCondition34,$whenCondition29,$whenCondition30,$whenCondition31,$whenCondition28,$whenCondition26,$whenCondition27,$whenCondition24,$whenCondition25,$whenCondition23,$whenCondition21,$whenCondition22,$whenCondition20,$whenCondition18,$whenCondition19,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,Generator1.running,Generator1.state,Generator1.converter.u,Generator1.limUQDown,Generator1.limUQUp,Generator1.pStatus,Generator1.qStatus,Generator2.running,Generator2.state,Generator2.converter.u,Generator2.limUQDown,Generator2.limUQUp,Generator2.pStatus,Generator2.qStatus,Line1.running,Line1.state,Line1bis.running,Line1bis.state,SignalNQ.blockedDown,SignalNQ.blockedUp,SignalNQ.frozen,DisconnectLine.state1,Generator1_INIT.limUQDown0,Generator1_INIT.limUQUp0,Generator2_INIT.limUQDown0,Generator2_INIT.limUQUp0) * Number of discrete states: 9 (Line1.running,Generator2.running,Generator1.running,Line1bis.running,Generator2.pStatus,Generator1.pStatus,Generator2.qStatus,Generator1.qStatus,SignalNQ.frozen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(15,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004158/0.4025, allocations: 3.182 MB / 0.7345 GB, free: 0.6133 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002196/0.4047, allocations: 1.559 MB / 0.736 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.4047, allocations: 4 kB / 0.736 GB, free: 15.01 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Electrical/Machines/SignalN/GeneratorPQPropDiagramPQ.mo:21:5-21:36: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{{{52:6}, {53:39}, {58:38}, {54:58}, {57:73}, {56:74}, {55:75}, {72:40}, {62:83}, {71:41}, {59:85}, {61:84}, {50:65}, {49:64}, {43:34}, {45:49}, {46:35}}, {51, 42, 41, 63, 44, 60, 70, 47, 65, 48, 64, 66, 67, 68, 69:42, 59, 23, 53, 22, 52, 67, 68, 50, 21, 20, 10, 33, 32, 11} Size: 15 [/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.828442683443427]