Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Dynawo_Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent.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.001802/0.001802, 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.001985/0.001985, allocations: 169.2 kB / 23.23 MB, free: 1.332 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: 2.602 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.7887/0.7887, allocations: 90.84 MB / 328.1 MB, free: 14.52 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.LoadZIPFrequencyDependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent") translateModel(Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Dynawo_Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.4968 GB, free: 18.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.373e-05, allocations: 2.281 kB / 0.4968 GB, free: 18.91 MB / 442.7 MB Notification: Performance of NFInst.instantiate(Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent): time 0.003594/0.003618, allocations: 2.58 MB / 0.4993 GB, free: 17.24 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004359/0.007977, allocations: 3.164 MB / 0.5024 GB, free: 15.02 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003932/0.00837, allocations: 11.62 kB / 0.5024 GB, free: 15.01 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004609/0.008831, allocations: 131.5 kB / 0.5026 GB, free: 14.94 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005517/0.009383, allocations: 170.8 kB / 0.5027 GB, free: 14.82 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.01087, allocations: 0.7024 MB / 0.5034 GB, free: 14.43 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005985/0.01147, allocations: 0.577 MB / 0.504 GB, free: 14.13 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.01167, allocations: 101.1 kB / 0.5041 GB, free: 14.07 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003234/0.012, allocations: 234.4 kB / 0.5043 GB, free: 13.96 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.01227, allocations: 201.3 kB / 0.5045 GB, free: 13.88 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.839e-05/0.01236, allocations: 50.69 kB / 0.5045 GB, free: 13.88 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003924/0.01275, allocations: 211.1 kB / 0.5047 GB, free: 13.82 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.681e-05/0.01285, allocations: 118.6 kB / 0.5048 GB, free: 13.75 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.01302, allocations: 172 kB / 0.505 GB, free: 13.65 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008818/0.0139, allocations: 0.7445 MB / 0.5057 GB, free: 13.32 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.01391, allocations: 0 / 0.5057 GB, free: 13.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01391, allocations: 0 / 0.5057 GB, free: 13.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.01392, allocations: 0.5625 kB / 0.5057 GB, free: 13.32 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.002881/0.0168, allocations: 1.046 MB / 0.5068 GB, free: 12.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.01684, allocations: 8.938 kB / 0.5068 GB, free: 12.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/0.01889, allocations: 307.6 kB / 0.5071 GB, free: 12.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005791/0.01947, allocations: 351.1 kB / 0.5074 GB, free: 12.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.01968, allocations: 336.7 kB / 0.5077 GB, free: 12.01 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.77e-05/0.01977, allocations: 35.45 kB / 0.5077 GB, free: 12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.02082, allocations: 0.5226 MB / 0.5083 GB, free: 11.74 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.02083, allocations: 0 / 0.5083 GB, free: 11.74 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.071e-05/0.02088, allocations: 17.44 kB / 0.5083 GB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.02089, allocations: 8.688 kB / 0.5083 GB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009348/0.02183, allocations: 432.1 kB / 0.5087 GB, free: 11.57 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002827/0.02466, allocations: 1.728 MB / 0.5104 GB, free: 10.37 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.02624, allocations: 0.5024 MB / 0.5109 GB, free: 10.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005163/0.02676, allocations: 237.1 kB / 0.5111 GB, free: 10.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.02687, allocations: 9.203 kB / 0.5111 GB, free: 10.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008169/0.02769, allocations: 389.4 kB / 0.5115 GB, free: 9.898 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 3.596e-06/0.02769, allocations: 4 kB / 0.5115 GB, free: 9.895 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.007712/0.03541, allocations: 1.368 MB / 0.5128 GB, free: 9.453 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.03544, allocations: 85.19 kB / 0.5129 GB, free: 9.359 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/0.03588, allocations: 370.2 kB / 0.5133 GB, free: 9.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.282e-05/0.03594, allocations: 39.12 kB / 0.5133 GB, free: 9.121 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.03607, allocations: 222.9 kB / 0.5135 GB, free: 8.934 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.0362, allocations: 158.6 kB / 0.5137 GB, free: 8.809 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.03639, allocations: 109 kB / 0.5138 GB, free: 8.754 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.39e-05/0.03647, allocations: 356.6 kB / 0.5141 GB, free: 8.422 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006013/0.03707, allocations: 316.7 kB / 0.5144 GB, free: 8.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006251/0.03769, allocations: 416 kB / 0.5148 GB, free: 7.996 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003927/0.04162, allocations: 1.534 MB / 0.5163 GB, free: 7.074 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.04163, allocations: 0 / 0.5163 GB, free: 7.074 MB / 442.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.004774/0.0464, allocations: 1.225 MB / 0.5175 GB, free: 6.371 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.494e-05/0.04646, allocations: 38.33 kB / 0.5175 GB, free: 6.336 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.04647, allocations: 10.25 kB / 0.5175 GB, free: 6.328 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008225/0.04729, allocations: 321.2 kB / 0.5178 GB, free: 6.164 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004225/0.04771, allocations: 89.17 kB / 0.5179 GB, free: 6.141 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006677/0.05439, allocations: 4.522 MB / 0.5223 GB, free: 2.367 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005863/0.05498, allocations: 61.34 kB / 0.5224 GB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/0.05503, allocations: 33.28 kB / 0.5224 GB, free: 2.316 MB / 442.7 MB Warning: Assuming fixed start value for the following 4 variables: loadZIPFrequencyDependent.state:DISCRETE(min = Dynawo.Electrical.Constants.state.Open max = Dynawo.Electrical.Constants.state.Undefined start = loadZIPFrequencyDependent.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) loadZIPFrequencyDependent.running:DISCRETE(flow=false start = loadZIPFrequencyDependent.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.loadZIPFrequencyDependent.state,loadZIPFrequencyDependent.state,$PRE.line.state,line.state,loadZIPFrequencyDependent.switchOffSignal2,loadZIPFrequencyDependent.switchOffSignal1,line.switchOffSignal2,line.switchOffSignal1,$PRE.loadZIPFrequencyDependent.running,$PRE.line.running,line.running,loadZIPFrequencyDependent.running,$whenCondition1,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition6,$whenCondition5,loadZIPFrequencyDependent.PLL.limIntegrator.local_reset,loadZIPFrequencyDependent.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.0003087/0.05534, allocations: 208 kB / 0.5226 GB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.829e-05/0.05543, allocations: 53.36 kB / 0.5227 GB, free: 2.117 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004458/0.05989, allocations: 0.9821 MB / 0.5236 GB, free: 1.559 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.05989, allocations: 3.875 kB / 0.5236 GB, free: 1.559 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.0599, allocations: 1.062 kB / 0.5236 GB, free: 1.559 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.05991, allocations: 5.109 kB / 0.5237 GB, free: 1.555 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005216/0.06512, allocations: 1.666 MB / 0.5253 GB, free: 448 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.06513, allocations: 1.406 kB / 0.5253 GB, free: 448 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003346/0.06546, allocations: 56.11 kB / 0.5253 GB, free: 436 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006508/0.06611, allocations: 315.3 kB / 0.5256 GB, free: 268 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.813e-05/0.06616, allocations: 12.62 kB / 0.5256 GB, free: 260 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007634/0.0738, allocations: 4.188 MB / 0.5297 GB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.0738, allocations: 1.375 kB / 0.5297 GB, free: 12.69 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006467/0.08027, allocations: 1.503 MB / 0.5312 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.08045, allocations: 52.36 kB / 0.5313 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.875e-05/0.08053, allocations: 12.64 kB / 0.5313 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/0.08097, allocations: 35.98 kB / 0.5313 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002297/0.0812, allocations: 54.38 kB / 0.5314 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-05/0.08125, allocations: 20.33 kB / 0.5314 GB, free: 11.67 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003559/0.0816, allocations: 249.7 kB / 0.5316 GB, free: 11.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0816, allocations: 1.156 kB / 0.5316 GB, free: 11.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009105/0.08251, allocations: 184.6 kB / 0.5318 GB, free: 11.46 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (loadZIPFrequencyDependent.PLL.integrator.y,loadZIPFrequencyDependent.PLL.limIntegrator.y) * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,loadZIPFrequencyDependent.running,loadZIPFrequencyDependent.state,line.running,line.state) * Number of discrete states: 2 (loadZIPFrequencyDependent.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.0004525/0.08297, allocations: 152.7 kB / 0.5319 GB, free: 11.33 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002807/0.08577, allocations: 1.043 MB / 0.533 GB, free: 10.24 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.08578, allocations: 0 / 0.533 GB, free: 10.24 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001544/0.08732, allocations: 0.5915 MB / 0.5335 GB, free: 9.625 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006825/0.088, allocations: 86.59 kB / 0.5336 GB, free: 9.547 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.09039, allocations: 0.9295 MB / 0.5345 GB, free: 8.582 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.09069, allocations: 228.9 kB / 0.5347 GB, free: 8.336 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002035/0.09089, allocations: 51.25 kB / 0.5348 GB, free: 8.289 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.091, allocations: 40.48 kB / 0.5348 GB, free: 8.25 MB / 458.7 MB Notification: Performance of SimCode: time 1.092e-06/0.091, allocations: 0 / 0.5348 GB, free: 8.25 MB / 458.7 MB Notification: Performance of Templates: time 0.02431/0.1153, allocations: 12.09 MB / 0.5466 GB, free: 12.23 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f Dynawo_Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent.makefile [Timeout 660] (rm -f Dynawo_Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent.pipe ; mkfifo Dynawo_Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent.pipe ; head -c 1048576 < Dynawo_Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent.pipe >> ../files/Dynawo_Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent.sim & ./Dynawo_Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > Dynawo_Dynawo.Examples.LoadFrequencyDependent.LoadZIPFrequencyDependent.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.961767824366689]