Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_dev_Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0005826/0.0005826, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.000811/0.001394, allocations: 0 / 0, free: 0 / 0 " [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.0004629/0.0004629, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007923/0.001255, allocations: 0 / 0, free: 0 / 0 " [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.1443/0.1443, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.03687/0.1811, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.1072/0.1072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.02571/0.1329, allocations: 0 / 0, free: 0 / 0 " [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) Running command: simulate(Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer,startTime=0,stopTime=200,tolerance=1e-06,numberOfIntervals=200,outputFormat="mat",variableFilter="time|line01.P2Pu|shiftController01.tap|tfo01.alphaTfo|tfo01.tap|PPuLine01.value",fileNamePrefix="Dynawo_dev_Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer",simflags="-ls=klu -lv=LOG_STATS -nls=kinsol -s=euler -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer,startTime=0,stopTime=200,tolerance=1e-06,numberOfIntervals=200,outputFormat="mat",variableFilter="time|line01.P2Pu|shiftController01.tap|tfo01.alphaTfo|tfo01.tap|PPuLine01.value",fileNamePrefix="Dynawo_dev_Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer",simflags="-ls=klu -lv=LOG_STATS -nls=kinsol -s=euler -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 6.22e-07/6.22e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/1.964e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer): time 0.004296/0.004315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.004228/0.008544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0002128/0.008757, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0003871/0.009144, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0005862/0.00973, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Examples/IllustrativeExamples/DynaFlow/PhaseShifterTransformer.mo:71:3-73:11:writable] Warning: In relation shiftController01.tap <> pre(shiftController01.tap), <> on Real operands is deprecated in non-function contexts. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo master/Electrical/Transformers/TransformersVariableTap/TransformerPhaseTapChanger.mo:49:3-56:11:writable] Warning: In relation tfo01.tap <> pre(tfo01.tap), <> on Real operands is deprecated in non-function contexts. Notification: Performance of NFTyping.typeClassSections: time 0.002468/0.0122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0008061/0.013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.01318, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.000685/0.01387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0004476/0.01432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.01443, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0006473/0.01508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.01524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0002682/0.01551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001072/0.01658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001366/0.01672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.146e-06/0.01672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.683e-05/0.01674, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003698/0.02043, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001384/0.02057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002238/0.02281, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/0.02339, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001779/0.02357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.02374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.02505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.02507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.02518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.02519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008246/0.02602, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003839/0.02985, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0007303/0.03058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/0.03097, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 8.075e-05/0.03105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/0.03227, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=102): time 9.968e-06/0.03228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=102): time 0.004135/0.03642, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.03647, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004854/0.03696, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.03712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.03727, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0002757/0.03754, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003167/0.03786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 8.922e-05/0.03795, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.03824, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003985/0.03864, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.03968, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.03969, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=146) (initialization): time 0.002865/0.04255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.04258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.0426, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.04382, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.04432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004164/0.04848, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005918/0.04908, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.987e-05/0.04916, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 19 variables: load01.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = load01.State0 fixed = true ) \"Load connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) tfo01.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = tfo01.State0 fixed = true ) \"Transformer connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line01.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line01.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) line02.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = line02.State0 fixed = true ) \"Line connection state\" type: enumeration(Open, Closed, Closed1, Closed2, Closed3, Undefined) tfo01.tap:DISCRETE(flow=false start = /*Real*/(tfo01.Tap0) fixed = true ) \"Current transformer tap (between 0 and NbTap - 1)\" type: Real load01.running:DISCRETE(flow=false start = load01.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean tfo01.running:DISCRETE(flow=false start = tfo01.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean tfo01.alphaTfo:DISCRETE(start = tfo01.AlphaTfo0 unit = \"rad\" fixed = true ) \"Transformation phase shift in rad\" type: Real line01.running:DISCRETE(flow=false start = line01.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line02.running:DISCRETE(flow=false start = line02.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean shiftController01.running:DISCRETE(flow=false start = shiftController01.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean shiftController01.tap:DISCRETE(flow=false start = /*Real*/(shiftController01.tap0) fixed = true ) \"Current tap\" type: Real shiftController01.valueAboveMax:DISCRETE(start = false fixed = true protected = true ) \"True if the monitored signal is above the maximum limit\" type: Boolean shiftController01.tValueAboveMaxWhileRunning:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the monitored signal went above the maximum limit and the tap-changer/phase-shifter is running, in s\" type: Real shiftController01.tTapUp:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the tap has been increased in s\" type: Real shiftController01.tTapDown:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the tap has been decreased in s\" type: Real shiftController01.tValueUnderMinWhileRunning:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"Time when the monitored signal went under the minimum limit and the tap-changer/phase-shifter is running, in s\" type: Real shiftController01.valueUnderMin:DISCRETE(fixed = true protected = true ) \"True if the monitored signal is under the minimum limit\" type: Boolean shiftController01.state:DISCRETE(min = shiftController01.State.MoveDownN max = shiftController01.State.Locked start = shiftController01.state0 fixed = true ) \"State of the tap-changer/phase-shifter\" type: enumeration(MoveDownN, MoveDown1, WaitingToMoveDown, Standard, WaitingToMoveUp, MoveUp1, MoveUpN, Locked) Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 83 ($PRE.load01.state,load01.state,$PRE.tfo01.state,tfo01.state,$PRE.line01.state,line01.state,$PRE.line02.state,line02.state,$PRE.tfo01.tap,tfo01.tap,$whenCondition24,shiftController01.AutomatonExists,$PRE.load01.running,$PRE.tfo01.running,$PRE.tfo01.alphaTfo,$PRE.line01.running,$PRE.line02.running,$PRE.shiftController01.running,$PRE.shiftController01.tap,$PRE.shiftController01.valueAboveMax,$PRE.shiftController01.tValueAboveMaxWhileRunning,$PRE.shiftController01.tTapUp,$PRE.shiftController01.tTapDown,$PRE.shiftController01.tValueUnderMinWhileRunning,$PRE.shiftController01.valueUnderMin,$PRE.shiftController01.state,shiftController01.tValueUnderMinWhileRunning,shiftController01.valueUnderMin,shiftController01.tTapDown,shiftController01.tTapUp,shiftController01.tValueAboveMaxWhileRunning,shiftController01.lookingToDecreaseTap,shiftController01.lookingToIncreaseTap,shiftController01.valueAboveMax,shiftController01.state,shiftController01.locked,shiftController01.tap,shiftController01.running,line02.running,line01.running,tfo01.alphaTfo,tfo01.running,load01.running,$whenCondition1,$whenCondition2,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition15,$whenCondition17,$whenCondition16,$whenCondition18,$whenCondition20,$whenCondition19,$whenCondition21,$whenCondition23,$whenCondition22,$whenCondition25,$whenCondition27,$whenCondition26,$whenCondition29,$whenCondition28,$whenCondition31,$whenCondition30,load01.switchOffSignal1,load01.switchOffSignal2,tfo01.switchOffSignal1,tfo01.switchOffSignal2,line01.switchOffSignal1,line02.switchOffSignal1,line01.switchOffSignal2,line02.switchOffSignal2,shiftController01.switchOffSignal1,shiftController01.switchOffSignal2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 128 * 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 {(14,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0006921/0.04985, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.05004, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002666/0.05271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.05272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.05272, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.05288, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002631/0.05315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/0.05357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005003/0.05407, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001373/0.05544, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001122/0.05656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000275/0.05684, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001898/0.05703, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Backend: time 0.0001745/0.0572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002277/0.05948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.001673/0.06115, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.005292/0.06644, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("Dynawo_dev_Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/Dynawo/dynawo/sources/Models/Modelica/Dynawo/Examples/references/Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer_res.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable PPuLine01.value in file Dynawo_dev_Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer_res.mat. Warning: Get data of variable PPuLine01.value from file Dynawo_dev_Dynawo.Examples.IllustrativeExamples.DynaFlow.PhaseShifterTransformer_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 0.9528562020277604]