Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.LoadFrequencyDependent.LoadAlphaBetaFrequencyDependent.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.001865/0.001865, allocations: 76.52 kB / 19.95 MB, free: 4.613 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.001968/0.001968, allocations: 169.2 kB / 23.23 MB, free: 1.328 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 1.279/1.279, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/package.mo): time 0.6901/0.6901, allocations: 90.85 MB / 328.1 MB, free: 14.51 MB / 314.7 MB " [Timeout remaining time 179] Using package Dynawo with version 1.8.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Dynawo 1.8.0/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.LoadFrequencyDependent.LoadAlphaBetaFrequencyDependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.LoadFrequencyDependent.LoadAlphaBetaFrequencyDependent") translateModel(Dynawo.Examples.LoadFrequencyDependent.LoadAlphaBetaFrequencyDependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.LoadFrequencyDependent.LoadAlphaBetaFrequencyDependent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.4968 GB, free: 19.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.395e-05, allocations: 5.797 kB / 0.4968 GB, free: 19.01 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.LoadFrequencyDependent.LoadAlphaBetaFrequencyDependent): time 0.003485/0.003509, allocations: 2.556 MB / 0.4993 GB, free: 17.35 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003781/0.00729, allocations: 3.156 MB / 0.5024 GB, free: 15.13 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003265/0.007617, allocations: 9.812 kB / 0.5024 GB, free: 15.13 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004108/0.008027, allocations: 132.4 kB / 0.5025 GB, free: 15.05 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005508/0.008578, allocations: 170.8 kB / 0.5027 GB, free: 14.94 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.01016, allocations: 0.7004 MB / 0.5034 GB, free: 14.54 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006759/0.01084, allocations: 0.5671 MB / 0.5039 GB, free: 14.25 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.01105, allocations: 101 kB / 0.504 GB, free: 14.19 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003181/0.01136, allocations: 226.1 kB / 0.5042 GB, free: 14.08 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002672/0.01163, allocations: 190.4 kB / 0.5044 GB, free: 14.01 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.166e-05/0.01171, allocations: 53.25 kB / 0.5045 GB, free: 14.01 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004432/0.01216, allocations: 201.8 kB / 0.5047 GB, free: 13.96 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.535e-05/0.01225, allocations: 117.8 kB / 0.5048 GB, free: 13.88 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.01241, allocations: 158.7 kB / 0.5049 GB, free: 13.8 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008924/0.0133, allocations: 0.7364 MB / 0.5057 GB, free: 13.47 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.01331, allocations: 4 kB / 0.5057 GB, free: 13.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01331, allocations: 0 / 0.5057 GB, free: 13.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.01332, allocations: 5.094 kB / 0.5057 GB, free: 13.46 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.00278/0.0161, allocations: 1.017 MB / 0.5067 GB, free: 12.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.01613, allocations: 9.75 kB / 0.5067 GB, free: 12.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.01786, allocations: 278.8 kB / 0.5069 GB, free: 12.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005211/0.01838, allocations: 344.3 kB / 0.5073 GB, free: 12.53 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/0.01856, allocations: 340.4 kB / 0.5076 GB, free: 12.17 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.421e-05/0.01865, allocations: 42.59 kB / 0.5076 GB, free: 12.15 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009588/0.01961, allocations: 0.502 MB / 0.5081 GB, free: 11.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.01962, allocations: 4.969 kB / 0.5081 GB, free: 11.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/0.01967, allocations: 17.25 kB / 0.5081 GB, free: 11.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.01968, allocations: 8.875 kB / 0.5081 GB, free: 11.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009083/0.02059, allocations: 425.3 kB / 0.5085 GB, free: 11.75 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002593/0.02318, allocations: 1.719 MB / 0.5102 GB, free: 10.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.02468, allocations: 497.2 kB / 0.5107 GB, free: 10.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004749/0.02515, allocations: 235.3 kB / 0.5109 GB, free: 10.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.69e-05/0.02525, allocations: 10 kB / 0.5109 GB, free: 10.25 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000734/0.02599, allocations: 391.5 kB / 0.5113 GB, free: 10.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 2.374e-06/0.02599, allocations: 1.375 kB / 0.5113 GB, free: 10.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.005809/0.0318, allocations: 1.229 MB / 0.5125 GB, free: 9.648 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.03183, allocations: 91.48 kB / 0.5126 GB, free: 9.547 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.03224, allocations: 357 kB / 0.5129 GB, free: 9.352 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/0.03229, allocations: 37.78 kB / 0.513 GB, free: 9.312 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.03241, allocations: 230.5 kB / 0.5132 GB, free: 9.121 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.03252, allocations: 150.7 kB / 0.5133 GB, free: 9.004 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.03271, allocations: 113.2 kB / 0.5134 GB, free: 8.945 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.529e-05/0.03279, allocations: 355 kB / 0.5138 GB, free: 8.613 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005674/0.03335, allocations: 298.6 kB / 0.5141 GB, free: 8.477 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005959/0.03395, allocations: 418.1 kB / 0.5145 GB, free: 8.211 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003825/0.03777, allocations: 1.497 MB / 0.5159 GB, free: 7.352 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.03778, allocations: 1.5 kB / 0.5159 GB, free: 7.352 MB / 442.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003684/0.04146, allocations: 1.136 MB / 0.517 GB, free: 6.684 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.0415, allocations: 43.09 kB / 0.5171 GB, free: 6.645 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.04151, allocations: 2.781 kB / 0.5171 GB, free: 6.645 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006709/0.04218, allocations: 301.1 kB / 0.5174 GB, free: 6.488 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000387/0.04257, allocations: 95.53 kB / 0.5175 GB, free: 6.461 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005668/0.04824, allocations: 4.353 MB / 0.5217 GB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005211/0.04876, allocations: 63.23 kB / 0.5218 GB, free: 2.742 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.049e-05/0.04883, allocations: 21.97 kB / 0.5218 GB, free: 2.738 MB / 442.7 MB Warning: Assuming fixed start value for the following 4 variables: loadAlphaBetaFrequencyDependent.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = loadAlphaBetaFrequencyDependent.State0 fixed = true ) \"Load 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) loadAlphaBetaFrequencyDependent.running:DISCRETE(flow=false start = loadAlphaBetaFrequencyDependent.Running0 fixed = true ) \"Indicates if the component is running or not\" type: Boolean line.running:DISCRETE(flow=false start = line.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: 13 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.loadAlphaBetaFrequencyDependent.state,loadAlphaBetaFrequencyDependent.state,$PRE.line.state,line.state,loadAlphaBetaFrequencyDependent.switchOffSignal2,loadAlphaBetaFrequencyDependent.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,$PRE.loadAlphaBetaFrequencyDependent.running,$PRE.line.running,line.running,loadAlphaBetaFrequencyDependent.running,$whenCondition1,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition6,$whenCondition5,loadAlphaBetaFrequencyDependent.PLL.limIntegrator.local_reset,loadAlphaBetaFrequencyDependent.PLL.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000312/0.04914, allocations: 203.1 kB / 0.522 GB, free: 2.566 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.04924, allocations: 53.05 kB / 0.522 GB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00336/0.0526, allocations: 0.881 MB / 0.5229 GB, free: 2.016 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.05261, allocations: 5.281 kB / 0.5229 GB, free: 2.016 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.05262, allocations: 1.281 kB / 0.5229 GB, free: 2.016 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.05262, allocations: 5.141 kB / 0.5229 GB, free: 2.012 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004175/0.0568, allocations: 1.561 MB / 0.5244 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.0568, allocations: 1.344 kB / 0.5244 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/0.05712, allocations: 69.33 kB / 0.5245 GB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005923/0.05772, allocations: 293.5 kB / 0.5248 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-05/0.05776, allocations: 12.95 kB / 0.5248 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006503/0.06426, allocations: 4.026 MB / 0.5287 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.06427, allocations: 5.312 kB / 0.5287 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004654/0.06892, allocations: 1.408 MB / 0.5301 GB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.06909, allocations: 53.08 kB / 0.5302 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.7e-05/0.06918, allocations: 8.312 kB / 0.5302 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/0.06961, allocations: 31 kB / 0.5302 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002083/0.06982, allocations: 57.36 kB / 0.5302 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-05/0.06987, allocations: 20.11 kB / 0.5303 GB, free: 12.31 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003436/0.07021, allocations: 244.1 kB / 0.5305 GB, free: 12.15 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.07021, allocations: 0 / 0.5305 GB, free: 12.15 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008024/0.07101, allocations: 172.4 kB / 0.5307 GB, free: 12.12 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (loadAlphaBetaFrequencyDependent.PLL.integrator.y,loadAlphaBetaFrequencyDependent.PLL.limIntegrator.y) * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,loadAlphaBetaFrequencyDependent.running,loadAlphaBetaFrequencyDependent.state,line.running,line.state) * Number of discrete states: 2 (loadAlphaBetaFrequencyDependent.running,line.running) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003873/0.0714, allocations: 161.8 kB / 0.5308 GB, free: 11.99 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002562/0.07396, allocations: 1.016 MB / 0.5318 GB, free: 11.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.07397, allocations: 0 / 0.5318 GB, free: 11.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001571/0.07554, allocations: 0.5865 MB / 0.5324 GB, free: 10.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006983/0.07624, allocations: 77.23 kB / 0.5325 GB, free: 10.72 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.07865, allocations: 0.9391 MB / 0.5334 GB, free: 9.758 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.07894, allocations: 228.9 kB / 0.5336 GB, free: 9.512 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002222/0.07917, allocations: 47.25 kB / 0.5336 GB, free: 9.465 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.07928, allocations: 36.5 kB / 0.5337 GB, free: 9.43 MB / 458.7 MB Notification: Performance of SimCode: time 6.21e-07/0.07928, allocations: 0 / 0.5337 GB, free: 9.43 MB / 458.7 MB Notification: Performance of Templates: time 0.02294/0.1022, allocations: 11.76 MB / 0.5452 GB, free: 13.75 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.LoadFrequencyDependent.LoadAlphaBetaFrequencyDependent.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.LoadFrequencyDependent.LoadAlphaBetaFrequencyDependent.pipe ; mkfifo Dynawo_Dynawo.Examples.LoadFrequencyDependent.LoadAlphaBetaFrequencyDependent.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.LoadFrequencyDependent.LoadAlphaBetaFrequencyDependent.pipe >> ../files/Dynawo_Dynawo.Examples.LoadFrequencyDependent.LoadAlphaBetaFrequencyDependent.sim & ./Dynawo_Dynawo.Examples.LoadFrequencyDependent.LoadAlphaBetaFrequencyDependent -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.LoadFrequencyDependent.LoadAlphaBetaFrequencyDependent.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.8913634875789285]