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.0009264/0.0009264, allocations: 73.98 kB / 20.67 MB, free: 3.828 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.0008668/0.0008668, allocations: 177.3 kB / 24.08 MB, free: 432 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.8296/0.8296, allocations: 158.6 MB / 186 MB, free: 2.797 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.419/0.419, allocations: 91.27 MB / 329.6 MB, free: 13.91 MB / 314.7 MB " [Timeout remaining time 179] 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 2.315e-06/2.315e-06, allocations: 0 / 434.5 MB, free: 5.398 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.744e-05, allocations: 5.969 kB / 434.5 MB, free: 5.395 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.SMIBStepEfdPm): time 0.006111/0.006139, allocations: 6.43 MB / 441 MB, free: 14.93 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004543/0.01068, allocations: 4.562 MB / 445.5 MB, free: 10.34 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000261/0.01094, allocations: 8 kB / 445.5 MB, free: 10.34 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004058/0.01135, allocations: 250 kB / 445.8 MB, free: 10.09 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005518/0.0119, allocations: 341.5 kB / 446.1 MB, free: 9.754 MB / 426.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.00197/0.01387, allocations: 1.693 MB / 447.8 MB, free: 8.059 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001075/0.01494, allocations: 1.651 MB / 449.5 MB, free: 6.398 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.01513, allocations: 114.7 kB / 449.6 MB, free: 6.277 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004751/0.0156, allocations: 0.6077 MB / 450.2 MB, free: 5.668 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004809/0.01608, allocations: 0.6037 MB / 450.8 MB, free: 5.062 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.01622, allocations: 148 kB / 450.9 MB, free: 4.918 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006394/0.01686, allocations: 0.6594 MB / 451.6 MB, free: 4.258 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.01703, allocations: 326.8 kB / 451.9 MB, free: 3.938 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002641/0.01729, allocations: 470.7 kB / 452.4 MB, free: 3.477 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.0184, allocations: 1.588 MB / 453.9 MB, free: 1.883 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.0184, allocations: 0 / 453.9 MB, free: 1.883 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.0184, allocations: 0 / 453.9 MB, free: 1.883 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.01841, allocations: 0 / 453.9 MB, free: 1.883 MB / 426.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.003541/0.02195, allocations: 2.547 MB / 456.5 MB, free: 15.28 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.02198, allocations: 8.031 kB / 456.5 MB, free: 15.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001555/0.02354, allocations: 0.6753 MB / 457.2 MB, free: 14.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005893/0.02413, allocations: 0.6062 MB / 457.8 MB, free: 13.96 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/0.02439, allocations: 0.5662 MB / 458.3 MB, free: 13.29 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.02451, allocations: 104 kB / 458.4 MB, free: 13.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008769/0.02539, allocations: 0.9193 MB / 459.4 MB, free: 12.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.0254, allocations: 7.938 kB / 459.4 MB, free: 12.15 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.02547, allocations: 40 kB / 459.4 MB, free: 12.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.02548, allocations: 20 kB / 459.4 MB, free: 12.09 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005976/0.02608, allocations: 476.6 kB / 459.9 MB, free: 11.63 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003223/0.0293, allocations: 4.587 MB / 464.5 MB, free: 6.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008946/0.03019, allocations: 0.7348 MB / 465.2 MB, free: 6.133 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003508/0.03054, allocations: 354.2 kB / 465.6 MB, free: 5.766 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.03066, allocations: 53.5 kB / 465.6 MB, free: 5.711 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006222/0.03129, allocations: 0.6665 MB / 466.3 MB, free: 5.012 MB / 442.7 MB Notification: Performance of pre-optimization done (n=157): time 2.755e-06/0.03129, allocations: 0 / 466.3 MB, free: 5.012 MB / 442.7 MB Notification: Performance of matching and sorting (n=157): time 0.005273/0.03656, allocations: 2.563 MB / 468.8 MB, free: 2.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.878e-05/0.03664, allocations: 208.8 kB / 469.1 MB, free: 2.184 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005341/0.03718, allocations: 0.7953 MB / 469.8 MB, free: 1.371 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.561e-05/0.03725, allocations: 69.69 kB / 469.9 MB, free: 1.297 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.03747, allocations: 452.8 kB / 470.4 MB, free: 0.8477 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003136/0.03778, allocations: 0.5578 MB / 470.9 MB, free: 292 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1819/0.2197, allocations: 418.2 kB / 471.3 MB, free: 70.26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2198, allocations: 0.5196 MB / 471.8 MB, free: 69.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000808/0.2206, allocations: 0.6022 MB / 472.4 MB, free: 69.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008065/0.2214, allocations: 1.02 MB / 473.5 MB, free: 69.28 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001974/0.2234, allocations: 2.257 MB / 475.7 MB, free: 68.67 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.2234, allocations: 3.688 kB / 475.7 MB, free: 68.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.003572/0.227, allocations: 2.665 MB / 478.4 MB, free: 68.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.937e-05/0.227, allocations: 129.8 kB / 478.5 MB, free: 68.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.901e-05/0.2271, allocations: 14.31 kB / 478.5 MB, free: 68.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/0.2287, allocations: 0.7292 MB / 479.3 MB, free: 68.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.2301, allocations: 447.1 kB / 479.7 MB, free: 68.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005989/0.2361, allocations: 7.09 MB / 486.8 MB, free: 63.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006894/0.2368, allocations: 205.7 kB / 487 MB, free: 63.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.286e-05/0.2369, allocations: 67 kB / 487.1 MB, free: 63.14 MB / 442.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.0004089/0.2373, allocations: 336.8 kB / 487.4 MB, free: 62.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.2375, allocations: 172.8 kB / 487.6 MB, free: 62.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003833/0.2379, allocations: 377.3 kB / 487.9 MB, free: 62.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.2379, allocations: 9.75 kB / 487.9 MB, free: 62.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/0.2379, allocations: 11.19 kB / 487.9 MB, free: 62.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.238, allocations: 152 kB / 488.1 MB, free: 62.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.501e-05/0.2381, allocations: 30.94 kB / 488.1 MB, free: 62.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/0.2384, allocations: 43.05 kB / 488.2 MB, free: 62.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002648/0.2387, allocations: 153.3 kB / 488.3 MB, free: 62.75 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001652/0.2404, allocations: 1.603 MB / 489.9 MB, free: 62.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001532/0.2419, allocations: 1.99 MB / 491.9 MB, free: 61.14 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003641/0.2423, allocations: 309.7 kB / 492.2 MB, free: 61.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002786/0.2425, allocations: 459.1 kB / 492.7 MB, free: 60.98 MB / 442.7 MB Notification: Performance of Backend: time 3.6e-07/0.2425, allocations: 0 / 492.7 MB, free: 60.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003386/0.2459, allocations: 2.667 MB / 495.3 MB, free: 60.04 MB / 442.7 MB Notification: Performance of SimCode: time 0.002594/0.2485, allocations: 3.057 MB / 498.4 MB, free: 58.22 MB / 442.7 MB Notification: Performance of Templates: time 0.03817/0.2867, allocations: 35.24 MB / 0.5211 GB, free: 41.85 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: 3.8079802142456174]