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.0009137/0.0009137, allocations: 91.56 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.0009542/0.0009542, allocations: 169 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.9083/0.9083, allocations: 158.6 MB / 185.7 MB, free: 2.473 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.4374/0.4374, allocations: 90.56 MB / 328.6 MB, free: 14.66 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 1.472e-06/1.472e-06, allocations: 0 / 433 MB, free: 6.645 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.448e-05, allocations: 2.312 kB / 433 MB, free: 6.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.SMIBStepEfdPm): time 0.005818/0.005842, allocations: 6.539 MB / 439.5 MB, free: 68 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005013/0.01086, allocations: 4.625 MB / 444.2 MB, free: 11.42 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003128/0.01117, allocations: 11.94 kB / 444.2 MB, free: 11.41 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000465/0.01163, allocations: 242 kB / 444.4 MB, free: 11.17 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006159/0.01225, allocations: 357.4 kB / 444.8 MB, free: 10.82 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.002199/0.01445, allocations: 1.701 MB / 446.5 MB, free: 9.113 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.01566, allocations: 1.658 MB / 448.1 MB, free: 7.445 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.01587, allocations: 114.7 kB / 448.2 MB, free: 7.324 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005421/0.01641, allocations: 0.6039 MB / 448.8 MB, free: 6.719 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005241/0.01693, allocations: 0.6037 MB / 449.5 MB, free: 6.113 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.01709, allocations: 148 kB / 449.6 MB, free: 5.969 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007559/0.01785, allocations: 0.6671 MB / 450.3 MB, free: 5.301 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.01802, allocations: 326.8 kB / 450.6 MB, free: 4.98 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002789/0.0183, allocations: 466.7 kB / 451 MB, free: 4.523 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.0196, allocations: 1.588 MB / 452.6 MB, free: 2.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.0196, allocations: 0 / 452.6 MB, free: 2.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.0196, allocations: 0 / 452.6 MB, free: 2.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.01961, allocations: 4 kB / 452.6 MB, free: 2.926 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.00377/0.02338, allocations: 2.531 MB / 455.2 MB, free: 348 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.02342, allocations: 8.031 kB / 455.2 MB, free: 340 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.02503, allocations: 0.6676 MB / 455.8 MB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006378/0.02567, allocations: 0.6178 MB / 456.5 MB, free: 15.01 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002597/0.02593, allocations: 0.5702 MB / 457 MB, free: 14.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.02605, allocations: 104 kB / 457.1 MB, free: 14.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.02723, allocations: 1.005 MB / 458.1 MB, free: 13.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.02725, allocations: 0 / 458.1 MB, free: 13.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/0.02732, allocations: 32 kB / 458.2 MB, free: 13.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.02734, allocations: 24 kB / 458.2 MB, free: 13.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008746/0.02821, allocations: 0.5877 MB / 458.8 MB, free: 12.48 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00348/0.03169, allocations: 4.68 MB / 463.5 MB, free: 7.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.03291, allocations: 0.8163 MB / 464.3 MB, free: 6.805 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000586/0.0335, allocations: 430.2 kB / 464.7 MB, free: 6.367 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.03361, allocations: 41 kB / 464.7 MB, free: 6.324 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008191/0.03443, allocations: 0.737 MB / 465.5 MB, free: 5.551 MB / 442.7 MB Notification: Performance of pre-optimization done (n=157): time 3.166e-06/0.03443, allocations: 0 / 465.5 MB, free: 5.551 MB / 442.7 MB Notification: Performance of matching and sorting (n=157): time 0.006196/0.04063, allocations: 2.794 MB / 468.3 MB, free: 2.734 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/0.0407, allocations: 200.9 kB / 468.5 MB, free: 2.496 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006509/0.04136, allocations: 0.8153 MB / 469.3 MB, free: 1.664 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.044e-05/0.04144, allocations: 65.7 kB / 469.3 MB, free: 1.594 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.04166, allocations: 448.9 kB / 469.8 MB, free: 1.148 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003197/0.04198, allocations: 0.558 MB / 470.3 MB, free: 0.5859 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003997/0.04238, allocations: 410.8 kB / 470.7 MB, free: 180 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.1901/0.2325, allocations: 0.516 MB / 471.2 MB, free: 70.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.2337, allocations: 0.6427 MB / 471.9 MB, free: 70.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008698/0.2345, allocations: 1.04 MB / 472.9 MB, free: 69.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002181/0.2367, allocations: 2.328 MB / 475.3 MB, free: 69.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.2367, allocations: 0 / 475.3 MB, free: 69.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.004157/0.2409, allocations: 2.772 MB / 478 MB, free: 68.99 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.375e-05/0.241, allocations: 123.5 kB / 478.2 MB, free: 68.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.825e-05/0.241, allocations: 19.03 kB / 478.2 MB, free: 68.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002124/0.2431, allocations: 0.7474 MB / 478.9 MB, free: 68.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.2447, allocations: 439.3 kB / 479.3 MB, free: 68.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006947/0.2517, allocations: 7.261 MB / 486.6 MB, free: 63.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000706/0.2524, allocations: 210.6 kB / 486.8 MB, free: 63.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.877e-05/0.2525, allocations: 82.16 kB / 486.9 MB, free: 63.7 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.0004141/0.2529, allocations: 326.9 kB / 487.2 MB, free: 63.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.2531, allocations: 172.9 kB / 487.4 MB, free: 63.47 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004688/0.2536, allocations: 410.4 kB / 487.8 MB, free: 63.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.2536, allocations: 6.562 kB / 487.8 MB, free: 63.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.921e-05/0.2536, allocations: 23.23 kB / 487.8 MB, free: 63.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.2537, allocations: 145.8 kB / 488 MB, free: 63.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.2538, allocations: 31.52 kB / 488 MB, free: 63.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/0.2542, allocations: 38.56 kB / 488 MB, free: 63.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000296/0.2545, allocations: 151.8 kB / 488.2 MB, free: 63.32 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002048/0.2565, allocations: 1.704 MB / 489.9 MB, free: 62.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001947/0.2585, allocations: 2.092 MB / 492 MB, free: 61.71 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004798/0.2589, allocations: 354.3 kB / 492.3 MB, free: 61.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003877/0.2593, allocations: 0.4894 MB / 492.8 MB, free: 61.55 MB / 442.7 MB Notification: Performance of Backend: time 2.41e-07/0.2593, allocations: 0 / 492.8 MB, free: 61.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003624/0.263, allocations: 2.695 MB / 495.5 MB, free: 60.61 MB / 442.7 MB Notification: Performance of SimCode: time 0.002328/0.2653, allocations: 2.895 MB / 498.4 MB, free: 58.76 MB / 442.7 MB Notification: Performance of Templates: time 0.03761/0.3029, allocations: 35.5 MB / 0.5214 GB, free: 41.84 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.124462604057044]