Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.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.001037/0.001037, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001622/0.002659, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009754/0.0009754, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001339/0.002315, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8479/0.8479, allocations: 158.6 MB / 171.2 MB, free: 2.516 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1521/1, allocations: 49.5 MB / 220.7 MB, free: 1.367 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Examples/GridFollowing/FourVSC/FourVSCDynamicLinesPlant.mo:214:26-227:16:writable] Warning: Lexer treating \\ as \\\\, since \\ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/Examples/GridFollowing/FourVSC/FourVSCDynamicLinesPlant.mo:214:26-229:28:writable] Warning: Lexer treating \\ as \\\\, since \\ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-master/package.mo): time 0.5262/0.5262, allocations: 106.6 MB / 328 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06552/0.5917, allocations: 37.89 MB / 365.9 MB, free: 8.984 MB / 362.7 MB " [Timeout remaining time 179] Using package Dynawo with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 2.0.0-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 -s=dassl since the model is compiled with --daeMode, which needs -s=ida Running command: translateModel(Dynawo.Examples.SVarC.SVarCStepURef,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef") translateModel(Dynawo.Examples.SVarC.SVarCStepURef,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 367.4 MB, free: 7.488 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.229e-05, allocations: 6.312 kB / 367.4 MB, free: 7.48 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCStepURef): time 0.005858/0.00588, allocations: 4.521 MB / 371.9 MB, free: 2.93 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003725/0.009605, allocations: 2.828 MB / 374.8 MB, free: 104 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003532/0.009958, allocations: 19.88 kB / 374.8 MB, free: 84 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003331/0.01029, allocations: 166.5 kB / 374.9 MB, free: 15.92 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003756/0.01067, allocations: 234.2 kB / 375.2 MB, free: 15.69 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.01199, allocations: 0.8529 MB / 376 MB, free: 14.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.013, allocations: 1.06 MB / 377.1 MB, free: 13.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003913/0.01339, allocations: 286.9 kB / 377.4 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007884/0.01418, allocations: 0.7412 MB / 378.1 MB, free: 12.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003354/0.01451, allocations: 318.8 kB / 378.4 MB, free: 12.39 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.01462, allocations: 112 kB / 378.5 MB, free: 12.28 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003112/0.01493, allocations: 215.9 kB / 378.7 MB, free: 12.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.01505, allocations: 179.4 kB / 378.9 MB, free: 11.89 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.01523, allocations: 231.5 kB / 379.1 MB, free: 11.67 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007248/0.01596, allocations: 0.7394 MB / 379.9 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.263e-05/0.01597, allocations: 3.938 kB / 379.9 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01597, allocations: 0 / 379.9 MB, free: 10.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.01599, allocations: 4 kB / 379.9 MB, free: 10.92 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002199/0.01818, allocations: 1.56 MB / 381.5 MB, free: 9.309 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.01823, allocations: 8.031 kB / 381.5 MB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000812/0.01904, allocations: 356.6 kB / 381.8 MB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004853/0.01953, allocations: 381.3 kB / 382.2 MB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002162/0.01974, allocations: 415.4 kB / 382.6 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.232e-05/0.01983, allocations: 63.98 kB / 382.6 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/0.02044, allocations: 0.5739 MB / 383.2 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.02046, allocations: 3.938 kB / 383.2 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.99e-05/0.0205, allocations: 24 kB / 383.2 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.02051, allocations: 16 kB / 383.3 MB, free: 7.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002725/0.02078, allocations: 197 kB / 383.5 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.02253, allocations: 1.886 MB / 385.3 MB, free: 5.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/0.02292, allocations: 283.7 kB / 385.6 MB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.02304, allocations: 94.31 kB / 385.7 MB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.847e-05/0.02308, allocations: 8.5 kB / 385.7 MB, free: 4.832 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003616/0.02344, allocations: 408.4 kB / 386.1 MB, free: 4.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 2.084e-06/0.02344, allocations: 4 kB / 386.1 MB, free: 4.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.001039/0.02448, allocations: 0.649 MB / 386.8 MB, free: 3.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.02452, allocations: 68.05 kB / 386.8 MB, free: 3.668 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.02485, allocations: 0.5155 MB / 387.4 MB, free: 3.137 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.02489, allocations: 45.69 kB / 387.4 MB, free: 3.086 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.02503, allocations: 294.1 kB / 387.7 MB, free: 2.797 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.02514, allocations: 202.3 kB / 387.9 MB, free: 2.598 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.02527, allocations: 134.5 kB / 388 MB, free: 2.461 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.02538, allocations: 398.5 kB / 388.4 MB, free: 2.062 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.02549, allocations: 81.97 kB / 388.5 MB, free: 1.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.02567, allocations: 241.9 kB / 388.7 MB, free: 1.688 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004177/0.02609, allocations: 477.7 kB / 389.2 MB, free: 1.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.02609, allocations: 4 kB / 389.2 MB, free: 1.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0008224/0.02691, allocations: 0.5717 MB / 389.8 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.02693, allocations: 8 kB / 389.8 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.02694, allocations: 11.92 kB / 389.8 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005351/0.02748, allocations: 288.3 kB / 390.1 MB, free: 296 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.02767, allocations: 95.83 kB / 390.2 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/0.02954, allocations: 1.899 MB / 392.1 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.02975, allocations: 83.64 kB / 392.1 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.616e-05/0.02978, allocations: 16 kB / 392.2 MB, free: 14.12 MB / 394.7 MB Warning: Assuming fixed start value for the following 9 variables: sVarCStandard.injector.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = sVarCStandard.injector.State0 fixed = true ) \"Injector connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line.running:DISCRETE(flow=false start = line.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean sVarCStandard.injector.running:DISCRETE(flow=false start = sVarCStandard.injector.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean sVarCStandard.modeHandling.timerModeChangeUp:DISCRETE(start = 1e60 unit = \"s\" fixed = true ) \"Timer for the transition from standby to running mode for high voltage values\" type: Real sVarCStandard.modeHandling.timerModeChangeDown:DISCRETE(start = 1e60 unit = \"s\" fixed = true ) \"Timer for the transition from standby to running mode for low voltage values\" type: Real sVarCStandard.modeHandling.URefAuto:DISCRETE(start = sVarCStandard.modeHandling.URef0 unit = \"kV\" fixed = true ) \"Voltage reference for the regulation if the static var compensator switches from standy to running mode automatically in kV\" type: Real sVarCStandard.blockingFunction.blocked:DISCRETE(flow=false fixed = true ) \"Whether the static var compensator is blocked due to very low voltages\" type: Boolean sVarCStandard.modeHandling.modeAuto:DISCRETE(flow=false min = Dynawo.Electrical.StaticVarCompensators.BaseControls.Mode.OFF max = Dynawo.Electrical.StaticVarCompensators.BaseControls.Mode.RUNNING_V start = sVarCStandard.modeHandling.Mode0 fixed = true ) \"Mode of the static var compensator when in automatic configuration\" type: enumeration(OFF, STANDBY, RUNNING_V) Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 43 ($PRE.sVarCStandard.injector.state,sVarCStandard.injector.state,$PRE.line.state,line.state,sVarCStandard.regulation.limitations.limIntegratorMax.local_reset,sVarCStandard.regulation.limitations.limIntegratorMin.local_reset,sVarCStandard.regulation.integrator.local_reset,$PRE.line.running,$PRE.sVarCStandard.injector.running,$PRE.sVarCStandard.modeHandling.timerModeChangeUp,$PRE.sVarCStandard.modeHandling.timerModeChangeDown,$PRE.sVarCStandard.modeHandling.URefAuto,$PRE.sVarCStandard.blockingFunction.blocked,$PRE.sVarCStandard.modeHandling.modeAuto,sVarCStandard.modeHandling.modeManual,sVarCStandard.blockingFunction.blocked,sVarCStandard.modeHandling.URefAuto,sVarCStandard.modeHandling.timerModeChangeDown,sVarCStandard.modeHandling.timerModeChangeUp,sVarCStandard.modeHandling.modeAuto,sVarCStandard.modeHandling.mode,sVarCStandard.injector.running,line.running,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition15,$whenCondition14,line.switchOffSignal1,line.switchOffSignal2,sVarCStandard.switchOffSignal1,sVarCStandard.switchOffSignal2,sVarCStandard.switchOffSignal3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002205/0.03, allocations: 221.5 kB / 392.4 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.03008, allocations: 75.91 kB / 392.4 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000841/0.03092, allocations: 0.5828 MB / 393 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.03092, allocations: 3.984 kB / 393 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.03093, allocations: 4 kB / 393 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.08e-05/0.031, allocations: 67.47 kB / 393.1 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.03103, allocations: 15.98 kB / 393.1 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.03107, allocations: 12 kB / 393.1 MB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.03122, allocations: 39.95 kB / 393.2 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.03136, allocations: 72.52 kB / 393.2 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008432/0.0322, allocations: 0.568 MB / 393.8 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005941/0.03279, allocations: 0.6315 MB / 394.4 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001573/0.03295, allocations: 135.2 kB / 394.6 MB, free: 11.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002217/0.03317, allocations: 240.6 kB / 394.8 MB, free: 11.41 MB / 394.7 MB Notification: Performance of Backend: time 1.41e-07/0.03317, allocations: 4 kB / 394.8 MB, free: 11.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009603/0.03413, allocations: 0.6506 MB / 395.5 MB, free: 10.74 MB / 394.7 MB Notification: Performance of SimCode: time 0.001891/0.03602, allocations: 1.888 MB / 397.3 MB, free: 8.797 MB / 394.7 MB Notification: Performance of Templates: time 0.01757/0.05359, allocations: 15.74 MB / 413.1 MB, free: 9.125 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.sim & ./Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef -lv=LOG_STATS -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS -s=ida > Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SVarC.SVarCStepURef_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SVarC.SVarCStepURef_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.257239630445838]