Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_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.001317/0.001317, allocations: 72.95 kB / 20.74 MB, free: 3.754 MB / 18.57 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.001549/0.001549, allocations: 169 kB / 24.17 MB, free: 336 kB / 18.57 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.9166/0.9166, allocations: 158.6 MB / 186 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/package.mo): time 0.4383/0.4383, allocations: 90.87 MB / 329.2 MB, free: 14.26 MB / 314.7 MB " [Timeout remaining time 180] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 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 -noemit -emit_protected=() since the simulation runtime does not accept it Running command: translateModel(Dynawo.Examples.SMIB.SMIBStepEfdPm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|generatorSynchronous.PGen|generatorSynchronous.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SMIB.SMIBStepEfdPm") translateModel(Dynawo.Examples.SMIB.SMIBStepEfdPm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|generatorSynchronous.PGen|generatorSynchronous.UPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SMIB.SMIBStepEfdPm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 384.9 MB, free: 7.055 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.56e-05, allocations: 6.25 kB / 384.9 MB, free: 7.047 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.SMIBStepEfdPm): time 0.007684/0.00771, allocations: 6.442 MB / 391.3 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007829/0.01554, allocations: 4.673 MB / 396 MB, free: 11.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008304/0.01637, allocations: 12 kB / 396 MB, free: 11.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000696/0.01707, allocations: 258 kB / 396.3 MB, free: 11.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.01813, allocations: 353.4 kB / 396.6 MB, free: 11.27 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:85:5-89:11:writable] Warning: In relation generatorSynchronous.uStatorPu.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:85:5-89:11:writable] Warning: In relation generatorSynchronous.uStatorPu.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:90:5-94:11:writable] Warning: In relation generatorSynchronous.iStatorPu.re == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/GeneratorSynchronous.mo:90:5-94:11:writable] Warning: In relation generatorSynchronous.iStatorPu.im == 0.0, == on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Machines/OmegaRef/BaseClasses/BaseGeneratorSynchronous.mo:133:3-133:117:writable] Warning: In relation generatorSynchronous.SNom <> generatorSynchronous.PNomAlt, <> on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/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 deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.003346/0.02147, allocations: 1.713 MB / 398.3 MB, free: 9.547 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001969/0.02344, allocations: 1.653 MB / 400 MB, free: 7.891 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005702/0.02401, allocations: 122.2 kB / 400.1 MB, free: 7.754 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.02502, allocations: 0.6116 MB / 400.7 MB, free: 7.141 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009476/0.02597, allocations: 0.6075 MB / 401.3 MB, free: 6.531 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003123/0.02628, allocations: 148 kB / 401.5 MB, free: 6.387 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.02759, allocations: 0.6633 MB / 402.1 MB, free: 5.723 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002362/0.02782, allocations: 322.8 kB / 402.4 MB, free: 5.406 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004143/0.02824, allocations: 474.7 kB / 402.9 MB, free: 4.941 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.03026, allocations: 1.581 MB / 404.5 MB, free: 3.355 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.03027, allocations: 4 kB / 404.5 MB, free: 3.352 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.03027, allocations: 3.938 kB / 404.5 MB, free: 3.348 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.741e-05/0.03029, allocations: 0 / 404.5 MB, free: 3.348 MB / 378.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.005608/0.0359, allocations: 2.419 MB / 406.9 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.03594, allocations: 19.97 kB / 406.9 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00372/0.03966, allocations: 0.6916 MB / 407.6 MB, free: 176 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009187/0.04058, allocations: 422.1 kB / 408 MB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003456/0.04093, allocations: 0.5663 MB / 408.6 MB, free: 15.06 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.04109, allocations: 99.98 kB / 408.7 MB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.04242, allocations: 0.8823 MB / 409.6 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.04244, allocations: 7.938 kB / 409.6 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.32e-05/0.04254, allocations: 35.98 kB / 409.6 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.211e-05/0.04256, allocations: 20 kB / 409.6 MB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008759/0.04343, allocations: 407.6 kB / 410 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00749/0.05092, allocations: 3.184 MB / 413.2 MB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.05224, allocations: 0.6632 MB / 413.9 MB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004693/0.05271, allocations: 296.2 kB / 414.2 MB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.05287, allocations: 48.98 kB / 414.2 MB, free: 9.215 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003995/0.05687, allocations: 0.6577 MB / 414.9 MB, free: 8.527 MB / 394.7 MB Notification: Performance of pre-optimization done (n=157): time 4.528e-06/0.05687, allocations: 0 / 414.9 MB, free: 8.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=157): time 0.01318/0.07005, allocations: 2.243 MB / 417.1 MB, free: 6.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.82e-05/0.07015, allocations: 200.9 kB / 417.3 MB, free: 6.031 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009681/0.07112, allocations: 0.718 MB / 418 MB, free: 5.297 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001937/0.07131, allocations: 69.69 kB / 418.1 MB, free: 5.223 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.07165, allocations: 331.3 kB / 418.4 MB, free: 4.891 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005716/0.07222, allocations: 0.5539 MB / 419 MB, free: 4.332 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006092/0.07283, allocations: 396.3 kB / 419.4 MB, free: 3.941 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.07296, allocations: 361.9 kB / 419.7 MB, free: 3.582 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.0743, allocations: 0.5852 MB / 420.3 MB, free: 2.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.07562, allocations: 0.9042 MB / 421.2 MB, free: 1.977 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003757/0.07937, allocations: 2.213 MB / 423.4 MB, free: 15.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/0.07938, allocations: 0 / 423.4 MB, free: 15.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.005826/0.08521, allocations: 2.34 MB / 425.8 MB, free: 13.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.08535, allocations: 127.3 kB / 425.9 MB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.039e-05/0.08539, allocations: 11.94 kB / 425.9 MB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00258/0.08797, allocations: 0.704 MB / 426.6 MB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/0.08971, allocations: 447.3 kB / 427.1 MB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005648/0.09536, allocations: 5.242 MB / 432.3 MB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009224/0.09628, allocations: 206.4 kB / 432.5 MB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.09641, allocations: 67.98 kB / 432.6 MB, free: 6.152 MB / 410.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.0004908/0.0969, allocations: 279.7 kB / 432.8 MB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.09708, allocations: 119.9 kB / 433 MB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004008/0.09748, allocations: 335.6 kB / 433.3 MB, free: 5.426 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.09749, allocations: 7.984 kB / 433.3 MB, free: 5.418 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/0.0975, allocations: 4 kB / 433.3 MB, free: 5.414 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.09766, allocations: 122.9 kB / 433.4 MB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.09777, allocations: 28 kB / 433.4 MB, free: 5.266 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/0.09809, allocations: 39.97 kB / 433.5 MB, free: 5.227 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002919/0.09838, allocations: 160.6 kB / 433.6 MB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001494/0.09987, allocations: 1.213 MB / 434.8 MB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001383/0.1013, allocations: 1.531 MB / 436.4 MB, free: 2.289 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003387/0.1016, allocations: 299.8 kB / 436.7 MB, free: 1.996 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002815/0.1019, allocations: 324.5 kB / 437 MB, free: 1.676 MB / 410.7 MB Notification: Performance of Backend: time 5.61e-07/0.1019, allocations: 0 / 437 MB, free: 1.676 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003977/0.1059, allocations: 2.434 MB / 439.4 MB, free: 15.15 MB / 426.7 MB Notification: Performance of SimCode: time 0.002805/0.1087, allocations: 2.698 MB / 442.1 MB, free: 12.39 MB / 426.7 MB Notification: Performance of Templates: time 0.1872/0.2958, allocations: 35.08 MB / 477.2 MB, free: 85.3 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.SMIB.SMIBStepEfdPm.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.SMIB.SMIBStepEfdPm.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SMIB.SMIBStepEfdPm.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SMIB.SMIBStepEfdPm.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SMIB.SMIBStepEfdPm.sim & ./Dynawo_dev_Dynawo.Examples.SMIB.SMIBStepEfdPm -initialStepSize=0.001 -lv=LOG_STATS -nls=kinsol -s=ida -nlsLS=klu -maxIntegrationOrder=2 -maxStepSize=10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SMIB.SMIBStepEfdPm.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SMIB.SMIBStepEfdPm_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SMIB.SMIBStepEfdPm_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.001899418886751]