Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.SMIB.SMIBStepEfdPm.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.001115/0.001115, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001666/0.002781, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001134/0.001134, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001427/0.002561, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.7382/0.7382, allocations: 158.6 MB / 171 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1166/0.8548, allocations: 49.49 MB / 220.5 MB, free: 1.441 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo): time 0.4194/0.4194, allocations: 90.83 MB / 312.1 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05474/0.4741, allocations: 32.14 MB / 344.2 MB, free: 14.4 MB / 346.7 MB " [Timeout remaining time 180] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/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 the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.SMIB.SMIBStepEfdPm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.SMIB.SMIBStepEfdPm") translateModel(Dynawo.Examples.SMIB.SMIBStepEfdPm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.SMIB.SMIBStepEfdPm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 345.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.064e-05, allocations: 2.312 kB / 345.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.SMIBStepEfdPm): time 0.005439/0.00546, allocations: 6.505 MB / 352.3 MB, free: 6.324 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005462/0.01092, allocations: 4.712 MB / 357 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005871/0.01151, allocations: 11.94 kB / 357 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004705/0.01198, allocations: 250 kB / 357.2 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007479/0.01273, allocations: 353.4 kB / 357.6 MB, free: 1 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:85:5-89:11:writable] Warning: In relation generatorSynchronous.uStatorPu.re == 0.0, == on Real operands is not allowed in non-function contexts. Use --allowNonStandardModelica=realEquality to ignore this error. [Non-standard Modelica: --allowNonStandardModelica=realEquality] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:85:5-89:11:writable] Warning: In relation generatorSynchronous.uStatorPu.im == 0.0, == on Real operands is not allowed in non-function contexts. Use --allowNonStandardModelica=realEquality to ignore this error. [Non-standard Modelica: --allowNonStandardModelica=realEquality] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:90:5-94:11:writable] Warning: In relation generatorSynchronous.iStatorPu.re == 0.0, == on Real operands is not allowed in non-function contexts. Use --allowNonStandardModelica=realEquality to ignore this error. [Non-standard Modelica: --allowNonStandardModelica=realEquality] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:90:5-94:11:writable] Warning: In relation generatorSynchronous.iStatorPu.im == 0.0, == on Real operands is not allowed in non-function contexts. Use --allowNonStandardModelica=realEquality to ignore this error. [Non-standard Modelica: --allowNonStandardModelica=realEquality] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/Electrical/Machines/OmegaRef/BaseClasses/BaseGeneratorSynchronous.mo:133:3-133:117:writable] Warning: In relation generatorSynchronous.SNom <> generatorSynchronous.PNomAlt, <> on Real operands is not allowed in non-function contexts. Use --allowNonStandardModelica=realEquality to ignore this error. [Non-standard Modelica: --allowNonStandardModelica=realEquality] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/Electrical/Machines/OmegaRef/BaseClasses_INIT/BaseGeneratorSynchronousInt_INIT.mo:47:5-47:85:writable] Warning: In relation generatorSynchronous.generatorSynchronousInt_INIT.MdPuEfd <> 0.0, <> on Real operands is not allowed in non-function contexts. Use --allowNonStandardModelica=realEquality to ignore this error. [Non-standard Modelica: --allowNonStandardModelica=realEquality] Notification: Performance of NFTyping.typeClassSections: time 0.002556/0.01528, allocations: 1.679 MB / 359.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00164/0.01692, allocations: 1.622 MB / 360.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.01717, allocations: 127.3 kB / 361 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.01829, allocations: 1.06 MB / 362.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005147/0.01881, allocations: 0.6076 MB / 362.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.01894, allocations: 152 kB / 362.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009983/0.01994, allocations: 0.6946 MB / 363.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.02008, allocations: 227.2 kB / 363.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002555/0.02034, allocations: 351.3 kB / 364.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.02172, allocations: 1.394 MB / 365.5 MB, free: 9.051 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.816e-05/0.02174, allocations: 0 / 365.5 MB, free: 9.051 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.02174, allocations: 0 / 365.5 MB, free: 9.051 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.147e-05/0.02176, allocations: 0 / 365.5 MB, free: 9.051 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.003858/0.02562, allocations: 2.763 MB / 368.2 MB, free: 6.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.02565, allocations: 8.031 kB / 368.2 MB, free: 6.223 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.02729, allocations: 0.6993 MB / 368.9 MB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005857/0.02787, allocations: 422.2 kB / 369.3 MB, free: 5.082 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002355/0.02811, allocations: 0.5624 MB / 369.9 MB, free: 4.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.02822, allocations: 108 kB / 370 MB, free: 4.305 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008312/0.02905, allocations: 0.8823 MB / 370.9 MB, free: 3.344 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.02907, allocations: 4 kB / 370.9 MB, free: 3.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-05/0.02913, allocations: 36 kB / 370.9 MB, free: 3.305 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.02915, allocations: 20 kB / 371 MB, free: 3.285 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005433/0.02969, allocations: 415.5 kB / 371.4 MB, free: 2.883 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003113/0.0328, allocations: 3.178 MB / 374.5 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009751/0.03378, allocations: 0.6617 MB / 375.2 MB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002967/0.03407, allocations: 300.4 kB / 375.5 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/0.03421, allocations: 52.97 kB / 375.5 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000615/0.03482, allocations: 0.6733 MB / 376.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=157): time 2.966e-06/0.03482, allocations: 0 / 376.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=157): time 0.004699/0.03952, allocations: 2.242 MB / 378.5 MB, free: 11.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.03958, allocations: 175.2 kB / 378.6 MB, free: 11.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005919/0.04017, allocations: 0.718 MB / 379.4 MB, free: 10.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.94e-05/0.04025, allocations: 65.69 kB / 379.4 MB, free: 10.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.04041, allocations: 335.3 kB / 379.7 MB, free: 10.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002992/0.04071, allocations: 0.554 MB / 380.3 MB, free: 9.688 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003311/0.04104, allocations: 400.3 kB / 380.7 MB, free: 9.293 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.171e-05/0.04112, allocations: 349.8 kB / 381 MB, free: 8.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006907/0.04181, allocations: 0.6281 MB / 381.7 MB, free: 8.301 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008134/0.04262, allocations: 0.9433 MB / 382.6 MB, free: 7.258 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002091/0.04471, allocations: 2.306 MB / 384.9 MB, free: 4.805 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.04472, allocations: 4 kB / 384.9 MB, free: 4.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.003328/0.04805, allocations: 2.422 MB / 387.3 MB, free: 2.312 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.374e-05/0.04814, allocations: 131.7 kB / 387.5 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/0.04817, allocations: 8 kB / 387.5 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001613/0.04978, allocations: 0.7072 MB / 388.2 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.05131, allocations: 0.5032 MB / 388.7 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005616/0.05693, allocations: 5.291 MB / 394 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009258/0.05785, allocations: 202.4 kB / 394.2 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.05799, allocations: 67.98 kB / 394.2 MB, free: 11.14 MB / 394.7 MB Warning: Assuming fixed start value for the following 8 variables: load.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = load.State0 fixed = true ) \"Load connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) transformer.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = transformer.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) gridImpedance.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = gridImpedance.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) generatorSynchronous.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = generatorSynchronous.State0 fixed = true ) \"Generator connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) generatorSynchronous.running:DISCRETE(flow=false start = generatorSynchronous.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean gridImpedance.running:DISCRETE(flow=false start = gridImpedance.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean transformer.running:DISCRETE(flow=false start = transformer.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean load.running:DISCRETE(flow=false start = load.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 38 ($PRE.load.state,load.state,$PRE.transformer.state,transformer.state,$PRE.gridImpedance.state,gridImpedance.state,$PRE.generatorSynchronous.state,generatorSynchronous.converter.u,generatorSynchronous.state,$PRE.generatorSynchronous.running,$PRE.gridImpedance.running,$PRE.transformer.running,$PRE.load.running,load.running,transformer.running,gridImpedance.running,generatorSynchronous.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,gridImpedance.switchOffSignal1,gridImpedance.switchOffSignal2,transformer.switchOffSignal1,transformer.switchOffSignal2,load.switchOffSignal1,load.switchOffSignal2,generatorSynchronous.switchOffSignal1,generatorSynchronous.switchOffSignal2,generatorSynchronous.switchOffSignal3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * 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 {(20,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0004169/0.0584, allocations: 268.9 kB / 394.5 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.05857, allocations: 119.9 kB / 394.6 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003901/0.05896, allocations: 335.5 kB / 394.9 MB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.05897, allocations: 7.969 kB / 395 MB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.05898, allocations: 8 kB / 395 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.05912, allocations: 122.9 kB / 395.1 MB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.688e-05/0.05917, allocations: 31.97 kB / 395.1 MB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.506e-05/0.05926, allocations: 35.98 kB / 395.1 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003237/0.05958, allocations: 35.98 kB / 395.2 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/0.05981, allocations: 160.6 kB / 395.3 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001387/0.0612, allocations: 1.229 MB / 396.6 MB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001285/0.06248, allocations: 1.531 MB / 398.1 MB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003062/0.06279, allocations: 291.7 kB / 398.4 MB, free: 6.926 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002434/0.06303, allocations: 328.5 kB / 398.7 MB, free: 6.602 MB / 394.7 MB Notification: Performance of Backend: time 3.41e-07/0.06303, allocations: 0 / 398.7 MB, free: 6.602 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003585/0.06662, allocations: 2.538 MB / 401.2 MB, free: 3.973 MB / 394.7 MB Notification: Performance of SimCode: time 0.003136/0.06976, allocations: 2.66 MB / 403.9 MB, free: 1.262 MB / 394.7 MB Notification: Performance of Templates: time 0.03723/0.107, allocations: 35.42 MB / 439.3 MB, free: 14.02 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.SMIB.SMIBStepEfdPm.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.SMIB.SMIBStepEfdPm.pipe ; mkfifo Dynawo_Dynawo.Examples.SMIB.SMIBStepEfdPm.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.SMIB.SMIBStepEfdPm.pipe >> ../files/Dynawo_Dynawo.Examples.SMIB.SMIBStepEfdPm.sim & ./Dynawo_Dynawo.Examples.SMIB.SMIBStepEfdPm -initialStepSize=0.001 -lv=LOG_STATS -nls=kinsol -nlsLS=klu -maxIntegrationOrder=2 -maxStepSize=10 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Dynawo_Dynawo.Examples.SMIB.SMIBStepEfdPm.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.431026767939329]