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.001126/0.001126, allocations: 91.55 kB / 20.97 MB, free: 3.582 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.001701/0.001701, allocations: 177 kB / 24.28 MB, free: 280 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.9225/0.9225, allocations: 158.6 MB / 186.1 MB, free: 2.902 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.9 MB, free: 14.71 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.905e-06/2.905e-06, allocations: 0 / 432.9 MB, free: 7.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.698e-05/3.989e-05, allocations: 5.688 kB / 432.9 MB, free: 7.164 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.SMIBStepEfdPm): time 0.008534/0.008574, allocations: 6.52 MB / 439.4 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007226/0.0158, allocations: 4.606 MB / 444 MB, free: 11.98 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00052/0.01632, allocations: 11.94 kB / 444 MB, free: 11.97 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006397/0.01696, allocations: 250 kB / 444.2 MB, free: 11.72 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009075/0.01787, allocations: 345.4 kB / 444.6 MB, free: 11.38 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.002659/0.02053, allocations: 1.705 MB / 446.3 MB, free: 9.672 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.0217, allocations: 1.658 MB / 447.9 MB, free: 8.004 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.0219, allocations: 114.7 kB / 448.1 MB, free: 7.883 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004314/0.02233, allocations: 0.6039 MB / 448.7 MB, free: 7.277 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004947/0.02283, allocations: 0.6037 MB / 449.3 MB, free: 6.672 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.02296, allocations: 148 kB / 449.4 MB, free: 6.527 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009995/0.02396, allocations: 0.6555 MB / 450.1 MB, free: 5.871 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001847/0.02414, allocations: 330.8 kB / 450.4 MB, free: 5.547 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002949/0.02444, allocations: 470.7 kB / 450.8 MB, free: 5.086 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.02568, allocations: 1.588 MB / 452.4 MB, free: 3.492 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.02569, allocations: 0 / 452.4 MB, free: 3.492 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.02569, allocations: 0 / 452.4 MB, free: 3.492 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.0257, allocations: 4 kB / 452.4 MB, free: 3.488 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.00403/0.02973, allocations: 2.539 MB / 455 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.02977, allocations: 8.031 kB / 455 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001675/0.03145, allocations: 0.6636 MB / 455.6 MB, free: 228 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006714/0.03212, allocations: 0.614 MB / 456.3 MB, free: 15.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005498/0.03267, allocations: 0.5663 MB / 456.8 MB, free: 14.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.03279, allocations: 104 kB / 456.9 MB, free: 14.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.03395, allocations: 1.005 MB / 457.9 MB, free: 13.69 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.03397, allocations: 3.938 kB / 457.9 MB, free: 13.69 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.267e-05/0.03404, allocations: 39.98 kB / 458 MB, free: 13.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.03406, allocations: 24 kB / 458 MB, free: 13.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009658/0.03503, allocations: 0.5799 MB / 458.6 MB, free: 13.05 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003646/0.03868, allocations: 4.677 MB / 463.3 MB, free: 8.246 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.04022, allocations: 0.8168 MB / 464.1 MB, free: 7.367 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/0.04078, allocations: 426.2 kB / 464.5 MB, free: 6.934 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.0409, allocations: 48.98 kB / 464.5 MB, free: 6.883 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008688/0.04177, allocations: 0.7292 MB / 465.3 MB, free: 6.117 MB / 442.7 MB Notification: Performance of pre-optimization done (n=157): time 3.286e-06/0.04177, allocations: 0 / 465.3 MB, free: 6.117 MB / 442.7 MB Notification: Performance of matching and sorting (n=157): time 0.006416/0.04819, allocations: 2.786 MB / 468.1 MB, free: 3.309 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.812e-05/0.04827, allocations: 196.9 kB / 468.2 MB, free: 3.074 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006808/0.04895, allocations: 0.8192 MB / 469.1 MB, free: 2.238 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.561e-05/0.04903, allocations: 65.69 kB / 469.1 MB, free: 2.168 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.04927, allocations: 452.9 kB / 469.6 MB, free: 1.719 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003193/0.04959, allocations: 0.5541 MB / 470.1 MB, free: 1.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004116/0.05, allocations: 414.8 kB / 470.5 MB, free: 0.7461 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.0502, allocations: 0.5082 MB / 471 MB, free: 236 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1919/0.2421, allocations: 0.6436 MB / 471.7 MB, free: 70.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009935/0.2431, allocations: 1.045 MB / 472.7 MB, free: 70.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00232/0.2454, allocations: 2.332 MB / 475.1 MB, free: 69.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/0.2454, allocations: 5 kB / 475.1 MB, free: 69.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.004256/0.2497, allocations: 2.764 MB / 477.8 MB, free: 69.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.79e-05/0.2498, allocations: 126.4 kB / 478 MB, free: 69.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.222e-05/0.2498, allocations: 18.12 kB / 478 MB, free: 69.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001947/0.2517, allocations: 0.7526 MB / 478.7 MB, free: 69.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.2532, allocations: 442.9 kB / 479.2 MB, free: 69.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00627/0.2595, allocations: 7.266 MB / 486.4 MB, free: 64.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006465/0.2601, allocations: 206.3 kB / 486.6 MB, free: 64.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.412e-05/0.2602, allocations: 81.73 kB / 486.7 MB, free: 64.15 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.0003871/0.2606, allocations: 332.6 kB / 487 MB, free: 63.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.2608, allocations: 172.8 kB / 487.2 MB, free: 63.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004853/0.2613, allocations: 404.1 kB / 487.6 MB, free: 63.83 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.2613, allocations: 7.281 kB / 487.6 MB, free: 63.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/0.2613, allocations: 15.09 kB / 487.6 MB, free: 63.83 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.2614, allocations: 148.4 kB / 487.8 MB, free: 63.77 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.2615, allocations: 40.7 kB / 487.8 MB, free: 63.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/0.2619, allocations: 31.83 kB / 487.8 MB, free: 63.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002756/0.2621, allocations: 155.2 kB / 488 MB, free: 63.77 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001999/0.2641, allocations: 1.696 MB / 489.7 MB, free: 63.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00191/0.2661, allocations: 2.104 MB / 491.8 MB, free: 62.15 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005137/0.2666, allocations: 355.2 kB / 492.1 MB, free: 62.13 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003953/0.267, allocations: 499.4 kB / 492.6 MB, free: 61.99 MB / 442.7 MB Notification: Performance of Backend: time 5.81e-07/0.267, allocations: 2.625 kB / 492.6 MB, free: 61.99 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003469/0.2704, allocations: 2.694 MB / 495.3 MB, free: 61.02 MB / 442.7 MB Notification: Performance of SimCode: time 0.002352/0.2728, allocations: 2.9 MB / 498.2 MB, free: 59.12 MB / 442.7 MB Notification: Performance of Templates: time 0.03696/0.3097, allocations: 33.59 MB / 0.5193 GB, free: 44.12 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.246048764092848]