Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.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.001134/0.001134, allocations: 81.09 kB / 20.67 MB, free: 3.824 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.0009654/0.0009654, allocations: 177 kB / 24.08 MB, free: 432 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.8/0.8, allocations: 158.6 MB / 186 MB, free: 2.805 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.4469/0.4469, allocations: 91.27 MB / 329.6 MB, free: 13.9 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.SVarCFaultImp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp") translateModel(Dynawo.Examples.SVarC.SVarCFaultImp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|loadPQ.QPu|sVarCStandard.injector.QInjPu",fileNamePrefix="Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 429.6 MB, free: 10.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.194e-05, allocations: 6.312 kB / 429.6 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.SVarC.SVarCFaultImp): time 0.0065/0.006522, allocations: 4.546 MB / 434.2 MB, free: 5.707 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004594/0.01112, allocations: 2.744 MB / 436.9 MB, free: 2.949 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004787/0.0116, allocations: 19.88 kB / 436.9 MB, free: 2.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005012/0.0121, allocations: 178.5 kB / 437.1 MB, free: 2.754 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006106/0.01271, allocations: 234.2 kB / 437.3 MB, free: 2.523 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.01431, allocations: 0.853 MB / 438.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.01548, allocations: 1.112 MB / 439.3 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004704/0.01595, allocations: 267.1 kB / 439.6 MB, free: 280 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004927/0.01644, allocations: 406.8 kB / 440 MB, free: 15.88 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000422/0.01686, allocations: 330.8 kB / 440.3 MB, free: 15.55 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.01701, allocations: 112 kB / 440.4 MB, free: 15.44 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003563/0.01737, allocations: 223.8 kB / 440.6 MB, free: 15.22 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.01755, allocations: 239.1 kB / 440.8 MB, free: 14.99 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002784/0.01782, allocations: 311 kB / 441.1 MB, free: 14.68 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.01884, allocations: 0.8251 MB / 442 MB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.01885, allocations: 0 / 442 MB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01885, allocations: 0 / 442 MB, free: 13.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.01886, allocations: 4 kB / 442 MB, free: 13.85 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002533/0.02139, allocations: 1.508 MB / 443.5 MB, free: 12.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.02142, allocations: 11.97 kB / 443.5 MB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007788/0.0222, allocations: 364.1 kB / 443.8 MB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.02269, allocations: 0.5741 MB / 444.4 MB, free: 11.33 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/0.02288, allocations: 463.4 kB / 444.9 MB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.141e-05/0.02295, allocations: 64.38 kB / 444.9 MB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006124/0.02356, allocations: 0.6129 MB / 445.5 MB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.02357, allocations: 0 / 445.5 MB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.08e-05/0.02362, allocations: 28 kB / 445.6 MB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.02363, allocations: 16 kB / 445.6 MB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002888/0.02392, allocations: 232.8 kB / 445.8 MB, free: 9.781 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.02595, allocations: 2.778 MB / 448.6 MB, free: 6.926 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000427/0.02638, allocations: 325.1 kB / 448.9 MB, free: 6.598 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.02652, allocations: 133 kB / 449 MB, free: 6.465 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.02655, allocations: 8.5 kB / 449 MB, free: 6.457 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003876/0.02694, allocations: 440.8 kB / 449.5 MB, free: 6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=72): time 1.794e-06/0.02694, allocations: 4 kB / 449.5 MB, free: 5.996 MB / 426.7 MB Notification: Performance of matching and sorting (n=72): time 0.001434/0.02837, allocations: 0.9093 MB / 450.4 MB, free: 5.074 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.02841, allocations: 101.7 kB / 450.5 MB, free: 4.953 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.02879, allocations: 0.5967 MB / 451.1 MB, free: 4.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/0.02883, allocations: 49.69 kB / 451.1 MB, free: 4.285 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.02904, allocations: 435.5 kB / 451.6 MB, free: 3.852 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.02916, allocations: 218.2 kB / 451.8 MB, free: 3.637 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.02931, allocations: 144.2 kB / 451.9 MB, free: 3.488 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.02947, allocations: 0.5702 MB / 452.5 MB, free: 2.906 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.02961, allocations: 101.9 kB / 452.6 MB, free: 2.805 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.02985, allocations: 338.5 kB / 452.9 MB, free: 2.391 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005121/0.03037, allocations: 0.5428 MB / 453.5 MB, free: 1.777 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.03037, allocations: 0 / 453.5 MB, free: 1.777 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001017/0.03139, allocations: 0.7575 MB / 454.2 MB, free: 1.008 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.0314, allocations: 8 kB / 454.2 MB, free: 1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.03141, allocations: 4 kB / 454.2 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006173/0.03203, allocations: 346.7 kB / 454.6 MB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.0322, allocations: 95.83 kB / 454.7 MB, free: 0.5625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.03458, allocations: 2.713 MB / 457.4 MB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.03481, allocations: 79.66 kB / 457.5 MB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.03484, allocations: 27.98 kB / 457.5 MB, free: 13.65 MB / 442.7 MB Warning: Assuming fixed start value for the following 10 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 nodeFault.nodeFault:DISCRETE(flow=false start = false fixed = true ) \"True when the fault is ongoing, false otherwise\" type: Boolean 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: 17 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.sVarCStandard.injector.state,sVarCStandard.injector.state,$PRE.line.state,line.state,$whenCondition16,$whenCondition17,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.nodeFault.nodeFault,$PRE.sVarCStandard.blockingFunction.blocked,$PRE.sVarCStandard.modeHandling.modeAuto,sVarCStandard.modeHandling.modeManual,nodeFault.nodeFault,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 (80): * Single equations (assignments): 79 * 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 {(7,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002599/0.0351, allocations: 283.6 kB / 457.8 MB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.726e-05/0.0352, allocations: 115.4 kB / 457.9 MB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007707/0.03597, allocations: 0.6342 MB / 458.5 MB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.03597, allocations: 7.984 kB / 458.5 MB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.03598, allocations: 3.938 kB / 458.5 MB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.265e-05/0.03606, allocations: 95.33 kB / 458.6 MB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/0.03611, allocations: 15.98 kB / 458.6 MB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.03628, allocations: 47.95 kB / 458.7 MB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.0364, allocations: 76.52 kB / 458.7 MB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001036/0.03743, allocations: 0.7674 MB / 459.5 MB, free: 11.58 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007785/0.03821, allocations: 0.9173 MB / 460.4 MB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001751/0.03839, allocations: 146 kB / 460.6 MB, free: 10.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002226/0.03861, allocations: 378.8 kB / 460.9 MB, free: 10.12 MB / 442.7 MB Notification: Performance of Backend: time 5.21e-07/0.03861, allocations: 0 / 460.9 MB, free: 10.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.0397, allocations: 0.7554 MB / 461.7 MB, free: 9.34 MB / 442.7 MB Notification: Performance of SimCode: time 0.001649/0.04135, allocations: 2.2 MB / 463.9 MB, free: 7.078 MB / 442.7 MB Notification: Performance of Templates: time 0.1719/0.2133, allocations: 16.87 MB / 480.8 MB, free: 73.08 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.makefile [Timeout 660] (rm -f Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.pipe ; mkfifo Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.pipe ; head -c 1048576 < Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.pipe >> ../files/Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.sim & ./Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp.pipe 2>&1) [Timeout 240] diffSimulationResults("Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.SVarC.SVarCFaultImp_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadPQ.QPu in file Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp_res.mat. Warning: Get data of variable loadPQ.QPu from file Dynawo_dev_Dynawo.Examples.SVarC.SVarCFaultImp_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4034143150784075]