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.0009968/0.0009968, allocations: 91.55 kB / 20.45 MB, free: 4.121 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.001048/0.001048, allocations: 165 kB / 23.82 MB, free: 0.75 MB / 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.7793/0.7793, allocations: 158.6 MB / 185.7 MB, free: 2.93 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.467/0.467, allocations: 90.56 MB / 328.6 MB, free: 14.7 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.194e-06/2.194e-06, allocations: 3.984 kB / 433 MB, free: 6.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.743e-05/1.963e-05, allocations: 6.25 kB / 433 MB, free: 6.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.SMIBStepEfdPm): time 0.00501/0.00503, allocations: 6.547 MB / 439.6 MB, free: 80 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004042/0.009072, allocations: 4.617 MB / 444.2 MB, free: 11.44 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002144/0.009286, allocations: 11.94 kB / 444.2 MB, free: 11.43 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003868/0.009673, allocations: 246 kB / 444.4 MB, free: 11.19 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004858/0.01016, allocations: 349.4 kB / 444.8 MB, free: 10.84 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.001769/0.01193, allocations: 1.709 MB / 446.5 MB, free: 9.129 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009682/0.0129, allocations: 1.655 MB / 448.1 MB, free: 7.465 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.01307, allocations: 118.6 kB / 448.2 MB, free: 7.34 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003845/0.01345, allocations: 0.6038 MB / 448.8 MB, free: 6.734 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004362/0.01389, allocations: 0.6037 MB / 449.5 MB, free: 6.129 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.01401, allocations: 148 kB / 449.6 MB, free: 5.984 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005837/0.0146, allocations: 0.6555 MB / 450.3 MB, free: 5.328 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.01476, allocations: 330.8 kB / 450.6 MB, free: 5.004 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002707/0.01503, allocations: 482.6 kB / 451 MB, free: 4.531 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.01612, allocations: 1.577 MB / 452.6 MB, free: 2.949 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.01613, allocations: 0 / 452.6 MB, free: 2.949 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01613, allocations: 0 / 452.6 MB, free: 2.949 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.01614, allocations: 0 / 452.6 MB, free: 2.949 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.003669/0.0198, allocations: 2.539 MB / 455.2 MB, free: 364 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.01984, allocations: 8.031 kB / 455.2 MB, free: 356 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.02144, allocations: 0.6714 MB / 455.8 MB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006353/0.02208, allocations: 0.614 MB / 456.5 MB, free: 15.03 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002487/0.02232, allocations: 0.5663 MB / 457 MB, free: 14.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.02244, allocations: 99.98 kB / 457.1 MB, free: 14.26 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.02354, allocations: 1.009 MB / 458.1 MB, free: 13.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.02355, allocations: 3.938 kB / 458.1 MB, free: 13.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.909e-05/0.02362, allocations: 39.98 kB / 458.2 MB, free: 13.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.02363, allocations: 24 kB / 458.2 MB, free: 13.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008705/0.02451, allocations: 0.576 MB / 458.8 MB, free: 12.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0034/0.0279, allocations: 4.68 MB / 463.4 MB, free: 7.699 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.02904, allocations: 0.8165 MB / 464.3 MB, free: 6.824 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005171/0.02956, allocations: 422.2 kB / 464.7 MB, free: 6.395 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.02967, allocations: 48.92 kB / 464.7 MB, free: 6.344 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007943/0.03046, allocations: 0.7409 MB / 465.5 MB, free: 5.566 MB / 442.7 MB Notification: Performance of pre-optimization done (n=157): time 2.485e-06/0.03046, allocations: 0 / 465.5 MB, free: 5.566 MB / 442.7 MB Notification: Performance of matching and sorting (n=157): time 0.005995/0.03646, allocations: 2.786 MB / 468.3 MB, free: 2.758 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.03652, allocations: 209 kB / 468.5 MB, free: 2.512 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006104/0.03713, allocations: 0.8153 MB / 469.3 MB, free: 1.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.216e-05/0.03721, allocations: 69.69 kB / 469.3 MB, free: 1.605 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.03741, allocations: 448.9 kB / 469.8 MB, free: 1.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002922/0.0377, allocations: 0.5502 MB / 470.3 MB, free: 0.6055 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004046/0.03811, allocations: 410.8 kB / 470.7 MB, free: 200 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.1501/0.1883, allocations: 0.5121 MB / 471.2 MB, free: 70.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.1894, allocations: 0.64 MB / 471.9 MB, free: 70.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009151/0.1903, allocations: 1.051 MB / 472.9 MB, free: 70.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002159/0.1925, allocations: 2.324 MB / 475.3 MB, free: 69.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.1925, allocations: 2.969 kB / 475.3 MB, free: 69.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.003938/0.1964, allocations: 2.768 MB / 478 MB, free: 69.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.224e-05/0.1965, allocations: 127.6 kB / 478.2 MB, free: 69.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.304e-05/0.1965, allocations: 16.59 kB / 478.2 MB, free: 69.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/0.1984, allocations: 0.7449 MB / 478.9 MB, free: 68.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.1999, allocations: 446.3 kB / 479.4 MB, free: 68.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006142/0.2061, allocations: 7.262 MB / 486.6 MB, free: 63.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006208/0.2067, allocations: 212.8 kB / 486.8 MB, free: 63.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-05/0.2068, allocations: 80.7 kB / 486.9 MB, free: 63.8 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,generatorSynchronous.switchOffSignal3,generatorSynchronous.switchOffSignal2,generatorSynchronous.switchOffSignal1,load.switchOffSignal2,load.switchOffSignal1,transformer.switchOffSignal2,transformer.switchOffSignal1,gridImpedance.switchOffSignal2,gridImpedance.switchOffSignal1,$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) * 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.0003477/0.2071, allocations: 328.1 kB / 487.2 MB, free: 63.63 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/0.2073, allocations: 176.1 kB / 487.4 MB, free: 63.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004357/0.2077, allocations: 402.4 kB / 487.8 MB, free: 63.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.2077, allocations: 9.031 kB / 487.8 MB, free: 63.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.809e-05/0.2078, allocations: 15.59 kB / 487.8 MB, free: 63.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.2079, allocations: 149.5 kB / 488 MB, free: 63.42 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.208, allocations: 30.28 kB / 488 MB, free: 63.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003468/0.2083, allocations: 39.44 kB / 488 MB, free: 63.42 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/0.2086, allocations: 156.6 kB / 488.2 MB, free: 63.42 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001991/0.2106, allocations: 1.691 MB / 489.9 MB, free: 62.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001879/0.2124, allocations: 2.097 MB / 492 MB, free: 61.8 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004881/0.2129, allocations: 355.2 kB / 492.3 MB, free: 61.78 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003485/0.2133, allocations: 0.4965 MB / 492.8 MB, free: 61.64 MB / 442.7 MB Notification: Performance of Backend: time 3.71e-07/0.2133, allocations: 0 / 492.8 MB, free: 61.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003473/0.2167, allocations: 2.695 MB / 495.5 MB, free: 60.66 MB / 442.7 MB Notification: Performance of SimCode: time 0.002249/0.219, allocations: 2.895 MB / 498.4 MB, free: 58.76 MB / 442.7 MB Notification: Performance of Templates: time 0.0323/0.2513, allocations: 33.59 MB / 0.5195 GB, free: 43.69 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.083355353213847]