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.001/0.001, allocations: 77.97 kB / 21.46 MB, free: 3.043 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.001059/0.001059, allocations: 159.4 kB / 24.85 MB, free: 9.215 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.8333/0.8333, allocations: 158.6 MB / 186.7 MB, free: 2.773 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.4809/0.4809, allocations: 90.57 MB / 329.7 MB, free: 14.55 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.493e-06/1.493e-06, allocations: 0 / 434.3 MB, free: 6.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.582e-05, allocations: 9.484 kB / 434.3 MB, free: 6.332 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.SMIBStepEfdPm): time 0.01017/0.0102, allocations: 6.438 MB / 440.7 MB, free: 15.86 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01637/0.02657, allocations: 4.555 MB / 445.3 MB, free: 11.28 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009605/0.02753, allocations: 11.94 kB / 445.3 MB, free: 11.27 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007382/0.02826, allocations: 246 kB / 445.6 MB, free: 11.03 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004497/0.03276, allocations: 353.4 kB / 445.9 MB, free: 10.68 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.007035/0.0398, allocations: 1.678 MB / 447.6 MB, free: 8.996 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005335/0.04513, allocations: 1.651 MB / 449.2 MB, free: 7.336 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003658/0.0455, allocations: 114.7 kB / 449.3 MB, free: 7.215 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.04654, allocations: 0.6077 MB / 449.9 MB, free: 6.605 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003857/0.0504, allocations: 0.5998 MB / 450.5 MB, free: 6.004 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002664/0.05066, allocations: 151.9 kB / 450.7 MB, free: 5.855 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.05211, allocations: 0.6594 MB / 451.4 MB, free: 5.195 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.05231, allocations: 322.8 kB / 451.7 MB, free: 4.879 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003858/0.05269, allocations: 474.7 kB / 452.1 MB, free: 4.414 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.05471, allocations: 1.588 MB / 453.7 MB, free: 2.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.05471, allocations: 0 / 453.7 MB, free: 2.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.05471, allocations: 0 / 453.7 MB, free: 2.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.305e-05/0.05474, allocations: 0 / 453.7 MB, free: 2.82 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.004863/0.0596, allocations: 2.554 MB / 456.3 MB, free: 216 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.05964, allocations: 8.031 kB / 456.3 MB, free: 208 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00192/0.06156, allocations: 0.6676 MB / 457 MB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000822/0.06239, allocations: 0.5984 MB / 457.5 MB, free: 14.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002959/0.06268, allocations: 0.5741 MB / 458.1 MB, free: 14.22 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.06283, allocations: 95.98 kB / 458.2 MB, free: 14.13 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.06405, allocations: 0.927 MB / 459.1 MB, free: 13.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.06407, allocations: 3.938 kB / 459.1 MB, free: 13.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.642e-05/0.06414, allocations: 43.98 kB / 459.2 MB, free: 13.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.06416, allocations: 20 kB / 459.2 MB, free: 13.03 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006936/0.06485, allocations: 480.6 kB / 459.7 MB, free: 12.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004061/0.06892, allocations: 4.583 MB / 464.3 MB, free: 7.867 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.07001, allocations: 0.7348 MB / 465 MB, free: 7.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004046/0.07041, allocations: 354.2 kB / 465.3 MB, free: 6.703 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002917/0.0707, allocations: 41 kB / 465.4 MB, free: 6.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007019/0.07141, allocations: 0.6704 MB / 466.1 MB, free: 5.953 MB / 442.7 MB Notification: Performance of pre-optimization done (n=157): time 3.336e-06/0.07141, allocations: 0 / 466.1 MB, free: 5.953 MB / 442.7 MB Notification: Performance of matching and sorting (n=157): time 0.00616/0.07757, allocations: 2.563 MB / 468.6 MB, free: 3.371 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.379e-05/0.07765, allocations: 204.9 kB / 468.8 MB, free: 3.129 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006989/0.07835, allocations: 0.7992 MB / 469.6 MB, free: 2.312 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.07847, allocations: 65.69 kB / 469.7 MB, free: 2.242 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.07873, allocations: 456.8 kB / 470.1 MB, free: 1.789 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003966/0.07912, allocations: 0.5578 MB / 470.7 MB, free: 1.227 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004503/0.07957, allocations: 418.6 kB / 471.1 MB, free: 0.8086 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.07974, allocations: 0.5198 MB / 471.6 MB, free: 288 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2044/0.2841, allocations: 0.6001 MB / 472.2 MB, free: 70.74 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.2852, allocations: 1.018 MB / 473.2 MB, free: 70.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002383/0.2876, allocations: 2.256 MB / 475.5 MB, free: 69.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/0.2876, allocations: 0 / 475.5 MB, free: 69.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.004196/0.2918, allocations: 2.672 MB / 478.2 MB, free: 69.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.881e-05/0.2919, allocations: 124.2 kB / 478.3 MB, free: 69.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.846e-05/0.2919, allocations: 16.56 kB / 478.3 MB, free: 69.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00198/0.2939, allocations: 0.7296 MB / 479 MB, free: 69.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.2956, allocations: 448 kB / 479.5 MB, free: 69.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006461/0.302, allocations: 7.093 MB / 486.6 MB, free: 64.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.303, allocations: 204.5 kB / 486.8 MB, free: 64.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.3031, allocations: 70.53 kB / 486.8 MB, free: 64.16 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.0005042/0.3037, allocations: 322.4 kB / 487.1 MB, free: 64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.3039, allocations: 180.5 kB / 487.3 MB, free: 63.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004362/0.3043, allocations: 375.8 kB / 487.7 MB, free: 63.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.3043, allocations: 9.359 kB / 487.7 MB, free: 63.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/0.3043, allocations: 8.531 kB / 487.7 MB, free: 63.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.3045, allocations: 152.1 kB / 487.9 MB, free: 63.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.3046, allocations: 32.84 kB / 487.9 MB, free: 63.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.305, allocations: 37.66 kB / 487.9 MB, free: 63.78 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002944/0.3053, allocations: 155.3 kB / 488.1 MB, free: 63.78 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001863/0.3071, allocations: 1.608 MB / 489.7 MB, free: 63.07 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001694/0.3088, allocations: 1.993 MB / 491.7 MB, free: 62.16 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000384/0.3092, allocations: 310.3 kB / 492 MB, free: 62.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003169/0.3095, allocations: 462.5 kB / 492.4 MB, free: 62 MB / 442.7 MB Notification: Performance of Backend: time 7.12e-07/0.3095, allocations: 0 / 492.4 MB, free: 62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004024/0.3135, allocations: 2.664 MB / 495.1 MB, free: 61.06 MB / 442.7 MB Notification: Performance of SimCode: time 0.002911/0.3164, allocations: 3.052 MB / 498.1 MB, free: 59.25 MB / 442.7 MB Notification: Performance of Templates: time 0.04429/0.3607, allocations: 36.14 MB / 0.5218 GB, free: 42.41 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.150445186998695]