Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.165/2.165, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 195.4 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 107.7 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 54.66 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3061, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02128/0.3274, allocations: 26.37 MB / 1.244 GB, free: 90.76 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01286/0.3403, allocations: 8.106 MB / 1.252 GB, free: 82.63 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003115/0.3435, allocations: 107.4 kB / 1.252 GB, free: 82.53 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.005791/0.3493, allocations: 2.572 MB / 1.254 GB, free: 79.95 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.004698/0.354, allocations: 1.489 MB / 1.256 GB, free: 78.46 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003919/0.358, allocations: 1.526 MB / 1.257 GB, free: 76.93 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.007439/0.3654, allocations: 8.743 MB / 1.266 GB, free: 68.17 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01022/0.3757, allocations: 8.193 MB / 1.274 GB, free: 59.88 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003702/0.3794, allocations: 2.214 MB / 1.276 GB, free: 57.66 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00444/0.3839, allocations: 2.885 MB / 1.279 GB, free: 54.76 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001514/0.3854, allocations: 347.9 kB / 1.279 GB, free: 54.42 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003909/0.3893, allocations: 1.33 MB / 1.28 GB, free: 53.09 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.002931/0.3923, allocations: 1.875 MB / 1.282 GB, free: 51.21 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.004607/0.3969, allocations: 2.189 MB / 1.284 GB, free: 49.01 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.006891/0.4038, allocations: 7.922 MB / 1.292 GB, free: 41.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.4039, allocations: 0 / 1.292 GB, free: 41.07 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4039, allocations: 0 / 1.292 GB, free: 41.07 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002399/0.4041, allocations: 0 / 1.292 GB, free: 41.07 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.008845/0.413, allocations: 4.228 MB / 1.296 GB, free: 36.77 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.413, allocations: 11.98 kB / 1.296 GB, free: 36.76 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003892/0.4169, allocations: 0.8078 MB / 1.297 GB, free: 35.95 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004848/0.4218, allocations: 2.424 MB / 1.299 GB, free: 33.47 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.422, allocations: 275.6 kB / 1.3 GB, free: 33.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007582/0.4228, allocations: 372.6 kB / 1.3 GB, free: 32.84 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007812/0.4306, allocations: 6 MB / 1.306 GB, free: 26.59 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.569e-05/0.4307, allocations: 19.88 kB / 1.306 GB, free: 26.57 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002974/0.431, allocations: 152 kB / 1.306 GB, free: 26.42 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004867/0.4315, allocations: 282.9 kB / 1.306 GB, free: 26.14 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005901/0.4374, allocations: 4.52 MB / 1.311 GB, free: 21.61 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02589/0.4633, allocations: 27.67 MB / 1.338 GB, free: 7.434 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.4651, allocations: 1.116 MB / 1.339 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/0.4663, allocations: 1.026 MB / 1.34 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.612e-05/0.4664, allocations: 13 kB / 1.34 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.4665, allocations: 51.5 kB / 1.34 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=110): time 3.176e-06/0.4665, allocations: 0 / 1.34 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of matching and sorting (n=131): time 0.02149/0.488, allocations: 9.657 MB / 1.349 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.4881, allocations: 72.72 kB / 1.349 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002803/0.4909, allocations: 1.49 MB / 1.351 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004454/0.4914, allocations: 49.7 kB / 1.351 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001944/0.4933, allocations: 1.663 MB / 1.353 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009142/0.4943, allocations: 477.2 kB / 1.353 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/0.4953, allocations: 323.2 kB / 1.353 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4955, allocations: 305.1 kB / 1.354 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001732/0.4972, allocations: 0.9174 MB / 1.355 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002107/0.4994, allocations: 1.467 MB / 1.356 GB, free: 4.305 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004382/0.5038, allocations: 2.546 MB / 1.358 GB, free: 1.52 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.092e-05/0.5038, allocations: 8 kB / 1.358 GB, free: 1.512 MB / 0.8542 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007286/0.5111, allocations: 3.285 MB / 1.362 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/0.5112, allocations: 17.19 kB / 1.362 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-05/0.5112, allocations: 20 kB / 1.362 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002402/0.5137, allocations: 0.7379 MB / 1.362 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/0.5153, allocations: 387.4 kB / 1.363 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01485/0.5302, allocations: 15.76 MB / 1.378 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.5319, allocations: 107.8 kB / 1.378 GB, free: 11.94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002997/0.5322, allocations: 76 kB / 1.378 GB, free: 11.86 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002415/0.5347, allocations: 1.314 MB / 1.38 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005009/0.5352, allocations: 205.6 kB / 1.38 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00518/0.5404, allocations: 2.78 MB / 1.383 GB, free: 7.516 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.5404, allocations: 16 kB / 1.383 GB, free: 7.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.88e-05/0.5404, allocations: 8 kB / 1.383 GB, free: 7.492 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.5405, allocations: 7.969 kB / 1.383 GB, free: 7.484 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/0.5529, allocations: 6.216 MB / 1.389 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/0.5529, allocations: 4 kB / 1.389 GB, free: 1.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.5541, allocations: 231.7 kB / 1.389 GB, free: 0.8633 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002014/0.5561, allocations: 0.6796 MB / 1.39 GB, free: 160 kB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.5563, allocations: 32 kB / 1.39 GB, free: 128 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01378/0.5701, allocations: 15.51 MB / 1.405 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/0.5701, allocations: 7.938 kB / 1.405 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/0.5841, allocations: 8.821 MB / 1.413 GB, free: 6.34 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.5852, allocations: 458.4 kB / 1.414 GB, free: 5.871 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000317/0.5855, allocations: 32 kB / 1.414 GB, free: 5.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.5866, allocations: 87.89 kB / 1.414 GB, free: 5.754 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003593/0.5869, allocations: 108.7 kB / 1.414 GB, free: 5.645 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.587, allocations: 47.98 kB / 1.414 GB, free: 5.598 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001417/0.5885, allocations: 0.9942 MB / 1.415 GB, free: 4.613 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5885, allocations: 0 / 1.415 GB, free: 4.613 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002787/0.5913, allocations: 0.8242 MB / 1.416 GB, free: 3.789 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002968/0.5916, allocations: 151 kB / 1.416 GB, free: 3.633 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005243/0.5968, allocations: 3.507 MB / 1.419 GB, free: 12 kB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/0.5969, allocations: 8.062 kB / 1.419 GB, free: 4 kB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.5485/1.145, allocations: 2.285 MB / 1.422 GB, free: 185 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003789/1.149, allocations: 0.6252 MB / 1.422 GB, free: 185 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/1.164, allocations: 8.882 MB / 1.431 GB, free: 181 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004278/1.168, allocations: 2.708 MB / 1.434 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002571/1.171, allocations: 495.8 kB / 1.434 GB, free: 180 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/1.171, allocations: 123.6 kB / 1.434 GB, free: 180 MB / 0.9167 GB Notification: Performance of SimCode: time 8.62e-07/1.171, allocations: 4 kB / 1.434 GB, free: 180 MB / 0.9167 GB Notification: Performance of Templates: time 0.07325/1.245, allocations: 34.3 MB / 1.468 GB, free: 163.5 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)