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.001023/0.001023, allocations: 82.64 kB / 21.46 MB, free: 3.047 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.001554/0.001554, allocations: 162.5 kB / 24.85 MB, free: 9.305 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.9273/0.9273, allocations: 158.6 MB / 186.8 MB, free: 2.789 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.4551/0.4551, allocations: 90.57 MB / 329.7 MB, free: 14.62 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) 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.473e-06/1.473e-06, allocations: 0 / 429.4 MB, free: 11.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.102e-05, allocations: 6.312 kB / 429.4 MB, free: 11.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCStepURef): time 0.004443/0.004464, allocations: 4.406 MB / 433.8 MB, free: 6.879 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003208/0.007672, allocations: 2.717 MB / 436.5 MB, free: 4.148 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.007927, allocations: 15.88 kB / 436.5 MB, free: 4.133 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.008279, allocations: 170.5 kB / 436.7 MB, free: 3.965 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003604/0.008639, allocations: 226.3 kB / 436.9 MB, free: 3.742 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.00965, allocations: 0.8491 MB / 437.8 MB, free: 2.891 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007085/0.01036, allocations: 1.084 MB / 438.9 MB, free: 1.805 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003051/0.01066, allocations: 258.6 kB / 439.1 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002665/0.01093, allocations: 382.8 kB / 439.5 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.01118, allocations: 318.8 kB / 439.8 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.801e-05/0.01127, allocations: 108 kB / 439.9 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.01148, allocations: 215.8 kB / 440.1 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.0116, allocations: 239.1 kB / 440.3 MB, free: 304 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.01177, allocations: 299.1 kB / 440.6 MB, free: 4 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006563/0.01243, allocations: 0.7901 MB / 441.4 MB, free: 15.21 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.01243, allocations: 0 / 441.4 MB, free: 15.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01243, allocations: 4 kB / 441.4 MB, free: 15.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.01244, allocations: 0 / 441.4 MB, free: 15.21 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001793/0.01423, allocations: 1.45 MB / 442.9 MB, free: 13.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.01427, allocations: 8.031 kB / 442.9 MB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007898/0.01506, allocations: 368.1 kB / 443.2 MB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005046/0.01556, allocations: 0.5586 MB / 443.8 MB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.01574, allocations: 408 kB / 444.2 MB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-05/0.01582, allocations: 60.36 kB / 444.3 MB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006085/0.01642, allocations: 0.5898 MB / 444.9 MB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.01644, allocations: 0 / 444.9 MB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/0.01648, allocations: 27.98 kB / 444.9 MB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.01649, allocations: 16 kB / 444.9 MB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.01678, allocations: 228.9 kB / 445.1 MB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002064/0.01885, allocations: 2.715 MB / 447.8 MB, free: 8.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/0.01928, allocations: 312.3 kB / 448.1 MB, free: 8.207 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.01941, allocations: 113.1 kB / 448.2 MB, free: 8.094 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.01945, allocations: 8.5 kB / 448.3 MB, free: 8.086 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003798/0.01983, allocations: 416.8 kB / 448.7 MB, free: 7.652 MB / 426.7 MB Notification: Performance of pre-optimization done (n=65): time 2.134e-06/0.01983, allocations: 0 / 448.7 MB, free: 7.652 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.00135/0.02118, allocations: 0.8146 MB / 449.5 MB, free: 6.828 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.02122, allocations: 93.77 kB / 449.6 MB, free: 6.715 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/0.0216, allocations: 0.5889 MB / 450.2 MB, free: 6.109 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.02164, allocations: 45.7 kB / 450.2 MB, free: 6.059 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.02184, allocations: 427.5 kB / 450.6 MB, free: 5.633 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.02196, allocations: 198.3 kB / 450.8 MB, free: 5.438 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.0221, allocations: 140.1 kB / 451 MB, free: 5.293 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.02226, allocations: 0.5663 MB / 451.5 MB, free: 4.715 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.02239, allocations: 89.92 kB / 451.6 MB, free: 4.625 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.02261, allocations: 303.2 kB / 451.9 MB, free: 4.258 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/0.02309, allocations: 0.4928 MB / 452.4 MB, free: 3.703 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.02309, allocations: 7.938 kB / 452.4 MB, free: 3.695 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001008/0.0241, allocations: 0.699 MB / 453.1 MB, free: 2.984 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.02412, allocations: 4 kB / 453.1 MB, free: 2.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.02413, allocations: 8.156 kB / 453.1 MB, free: 2.973 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005866/0.02471, allocations: 298.8 kB / 453.4 MB, free: 2.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.0249, allocations: 87.77 kB / 453.5 MB, free: 2.594 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/0.02726, allocations: 2.549 MB / 456 MB, free: 15.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.02749, allocations: 71.7 kB / 456.1 MB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.02752, allocations: 20 kB / 456.1 MB, free: 15.85 MB / 442.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.injector.switchOffSignal1,sVarCStandard.injector.switchOffSignal2,sVarCStandard.injector.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.0002429/0.02776, allocations: 272.7 kB / 456.4 MB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.735e-05/0.02786, allocations: 107.5 kB / 456.5 MB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.0289, allocations: 0.7028 MB / 457.2 MB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.02891, allocations: 7.922 kB / 457.2 MB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.02891, allocations: 0 / 457.2 MB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.789e-05/0.02899, allocations: 83.39 kB / 457.3 MB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/0.02904, allocations: 19.98 kB / 457.3 MB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.02921, allocations: 35.97 kB / 457.3 MB, free: 14.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.02933, allocations: 80.5 kB / 457.4 MB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00106/0.03039, allocations: 0.7228 MB / 458.1 MB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007517/0.03114, allocations: 0.8501 MB / 459 MB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001689/0.03131, allocations: 138 kB / 459.1 MB, free: 12.78 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002146/0.03153, allocations: 366.9 kB / 459.5 MB, free: 12.43 MB / 442.7 MB Notification: Performance of Backend: time 5.92e-07/0.03153, allocations: 0 / 459.5 MB, free: 12.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.03256, allocations: 0.6939 MB / 460.2 MB, free: 11.7 MB / 442.7 MB Notification: Performance of SimCode: time 0.001594/0.03415, allocations: 2.105 MB / 462.3 MB, free: 9.527 MB / 442.7 MB Notification: Performance of Templates: time 0.1782/0.2123, allocations: 16.22 MB / 478.5 MB, free: 74.7 MB / 442.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 -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.612953192088753]