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.0009189/0.0009189, allocations: 72.83 kB / 20.74 MB, free: 3.754 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.0009205/0.0009205, allocations: 169 kB / 24.17 MB, free: 336 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.7572/0.7572, allocations: 158.6 MB / 186 MB, free: 2.77 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.4204/0.4204, allocations: 90.86 MB / 329.2 MB, free: 14.29 MB / 314.7 MB " [Timeout remaining time 180] Using package Dynawo with version 2.0.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.242e-06/1.242e-06, allocations: 0 / 384.9 MB, free: 7.02 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.738e-05, allocations: 6.312 kB / 384.9 MB, free: 7.012 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SMIB.SMIBStepEfdPm): time 0.005584/0.005601, allocations: 6.475 MB / 391.4 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004566/0.01017, allocations: 4.681 MB / 396.1 MB, free: 11.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.01041, allocations: 16 kB / 396.1 MB, free: 11.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.0108, allocations: 258 kB / 396.3 MB, free: 11.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005044/0.0113, allocations: 345.4 kB / 396.7 MB, free: 11.2 MB / 378.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.001936/0.01324, allocations: 1.67 MB / 398.3 MB, free: 9.52 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009824/0.01422, allocations: 1.665 MB / 400 MB, free: 7.852 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.0144, allocations: 126.2 kB / 400.1 MB, free: 7.711 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004024/0.01481, allocations: 0.6 MB / 400.7 MB, free: 7.109 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000579/0.01538, allocations: 0.6037 MB / 401.3 MB, free: 6.504 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.01551, allocations: 152 kB / 401.5 MB, free: 6.355 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000674/0.01618, allocations: 0.7023 MB / 402.2 MB, free: 5.652 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.01636, allocations: 330.8 kB / 402.5 MB, free: 5.328 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002939/0.01665, allocations: 470.7 kB / 403 MB, free: 4.867 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.01794, allocations: 1.584 MB / 404.6 MB, free: 3.277 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.01794, allocations: 0 / 404.6 MB, free: 3.277 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01794, allocations: 0 / 404.6 MB, free: 3.277 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.433e-06/0.01795, allocations: 0 / 404.6 MB, free: 3.277 MB / 378.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.003548/0.02149, allocations: 2.427 MB / 407 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.02153, allocations: 8.031 kB / 407 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/0.02334, allocations: 0.6994 MB / 407.7 MB, free: 100 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006452/0.02398, allocations: 418.2 kB / 408.1 MB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002346/0.02422, allocations: 0.5624 MB / 408.7 MB, free: 14.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.02433, allocations: 108 kB / 408.8 MB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008088/0.02514, allocations: 0.8784 MB / 409.6 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.02516, allocations: 7.938 kB / 409.7 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.239e-05/0.02522, allocations: 36 kB / 409.7 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.02524, allocations: 20 kB / 409.7 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000547/0.02578, allocations: 407.6 kB / 410.1 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002769/0.02855, allocations: 3.173 MB / 413.3 MB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008291/0.02938, allocations: 0.6751 MB / 414 MB, free: 9.496 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003031/0.02968, allocations: 296.2 kB / 414.2 MB, free: 9.195 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.0298, allocations: 48.98 kB / 414.3 MB, free: 9.148 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005953/0.0304, allocations: 0.6538 MB / 414.9 MB, free: 8.465 MB / 394.7 MB Notification: Performance of pre-optimization done (n=157): time 2.825e-06/0.0304, allocations: 0 / 414.9 MB, free: 8.465 MB / 394.7 MB Notification: Performance of matching and sorting (n=157): time 0.004956/0.03536, allocations: 2.251 MB / 417.2 MB, free: 6.195 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.03542, allocations: 204.9 kB / 417.4 MB, free: 5.953 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/0.03586, allocations: 0.718 MB / 418.1 MB, free: 5.219 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.883e-05/0.03593, allocations: 61.7 kB / 418.2 MB, free: 5.152 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.03607, allocations: 335.3 kB / 418.5 MB, free: 4.816 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/0.03634, allocations: 0.5501 MB / 419.1 MB, free: 4.262 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003459/0.03669, allocations: 396.3 kB / 419.4 MB, free: 3.871 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.03678, allocations: 357.8 kB / 419.8 MB, free: 3.516 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007011/0.03748, allocations: 0.5852 MB / 420.4 MB, free: 2.914 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008194/0.0383, allocations: 0.9042 MB / 421.3 MB, free: 1.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00225/0.04055, allocations: 2.209 MB / 423.5 MB, free: 15.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.04055, allocations: 4 kB / 423.5 MB, free: 15.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.00322/0.04377, allocations: 2.347 MB / 425.8 MB, free: 13.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.692e-05/0.04385, allocations: 127.3 kB / 426 MB, free: 13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/0.04387, allocations: 12.34 kB / 426 MB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/0.04545, allocations: 0.7036 MB / 426.7 MB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.04691, allocations: 487.3 kB / 427.2 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005419/0.05233, allocations: 5.279 MB / 432.4 MB, free: 6.273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005375/0.05287, allocations: 210.4 kB / 432.6 MB, free: 6.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.137e-05/0.05295, allocations: 63.98 kB / 432.7 MB, free: 6.004 MB / 410.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.0003274/0.05328, allocations: 283.5 kB / 433 MB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.05341, allocations: 119.9 kB / 433.1 MB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003365/0.05375, allocations: 331.6 kB / 433.4 MB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/0.05376, allocations: 7.969 kB / 433.4 MB, free: 5.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.05377, allocations: 4 kB / 433.4 MB, free: 5.262 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.05388, allocations: 122.9 kB / 433.5 MB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.84e-05/0.05398, allocations: 31.98 kB / 433.6 MB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/0.05428, allocations: 31.98 kB / 433.6 MB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002736/0.05456, allocations: 164.6 kB / 433.8 MB, free: 4.918 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001406/0.05596, allocations: 1.217 MB / 435 MB, free: 3.688 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001407/0.05737, allocations: 1.535 MB / 436.5 MB, free: 2.129 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003218/0.05769, allocations: 299.9 kB / 436.8 MB, free: 1.836 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000237/0.05793, allocations: 336.5 kB / 437.1 MB, free: 1.504 MB / 410.7 MB Notification: Performance of Backend: time 3.91e-07/0.05793, allocations: 0 / 437.1 MB, free: 1.504 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003137/0.06107, allocations: 2.413 MB / 439.6 MB, free: 15 MB / 426.7 MB Notification: Performance of SimCode: time 0.002297/0.06336, allocations: 2.698 MB / 442.3 MB, free: 12.25 MB / 426.7 MB Notification: Performance of Templates: time 0.1647/0.2281, allocations: 35.08 MB / 477.3 MB, free: 85.17 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 -s gbode -gbm=radauIIA3 -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.4398093521595]