Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001215, allocations: 112.9 kB / 16.42 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 184.1 kB / 17.35 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.615/2.615, allocations: 437 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 56.12 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8292/0.8308, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01324/0.8441, allocations: 10.08 MB / 1.177 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008332/0.8525, allocations: 3.174 MB / 1.18 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.854, allocations: 39.81 kB / 1.18 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002567/0.8566, allocations: 0.5997 MB / 1.181 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002357/0.859, allocations: 0.7779 MB / 1.182 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.861, allocations: 0.734 MB / 1.182 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003919/0.865, allocations: 3 MB / 1.185 GB, free: 1.336 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004621/0.8696, allocations: 2.61 MB / 1.188 GB, free: 14.68 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002535/0.8721, allocations: 1.262 MB / 1.189 GB, free: 13.42 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003006/0.8752, allocations: 1.558 MB / 1.191 GB, free: 11.86 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0008838/0.8761, allocations: 236 kB / 1.191 GB, free: 11.62 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.8779, allocations: 0.4994 MB / 1.191 GB, free: 11.12 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00191/0.8799, allocations: 1.072 MB / 1.192 GB, free: 10.05 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002531/0.8824, allocations: 1.112 MB / 1.193 GB, free: 8.934 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005462/0.8879, allocations: 3.692 MB / 1.197 GB, free: 5.234 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.8879, allocations: 0 / 1.197 GB, free: 5.234 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.935e-06/0.8879, allocations: 0 / 1.197 GB, free: 5.234 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001357/0.8881, allocations: 4 kB / 1.197 GB, free: 5.23 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.006498/0.8946, allocations: 2.194 MB / 1.199 GB, free: 2.977 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.8946, allocations: 8.625 kB / 1.199 GB, free: 2.969 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008786/0.9034, allocations: 1.326 MB / 1.201 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003117/0.9066, allocations: 1.303 MB / 1.202 GB, free: 304 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.9068, allocations: 111.4 kB / 1.202 GB, free: 192 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008313/0.9076, allocations: 148.3 kB / 1.202 GB, free: 44 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007585/0.9152, allocations: 3.441 MB / 1.205 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.933e-05/0.9153, allocations: 3.938 kB / 1.205 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000493/0.9158, allocations: 67.97 kB / 1.205 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002936/0.9161, allocations: 199.1 kB / 1.206 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006549/0.9227, allocations: 3.124 MB / 1.209 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02021/0.9429, allocations: 13.57 MB / 1.222 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002683/0.9456, allocations: 1.724 MB / 1.224 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002089/0.9478, allocations: 1.44 MB / 1.225 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.9479, allocations: 28.86 kB / 1.225 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.948, allocations: 43.5 kB / 1.225 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=104): time 3.386e-06/0.948, allocations: 0 / 1.225 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of matching and sorting (n=183): time 0.1315/1.079, allocations: 36.7 MB / 1.261 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/1.08, allocations: 73.41 kB / 1.261 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/1.081, allocations: 1.058 MB / 1.262 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002276/1.082, allocations: 49.7 kB / 1.262 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005756/1.082, allocations: 0.8132 MB / 1.263 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006292/1.083, allocations: 0.6508 MB / 1.264 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008327/1.084, allocations: 367.5 kB / 1.264 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.505e-05/1.084, allocations: 305.1 kB / 1.264 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002919/1.087, allocations: 1.936 MB / 1.266 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003013/1.09, allocations: 2.281 MB / 1.268 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005937/1.096, allocations: 4.392 MB / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/1.096, allocations: 4 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01988/1.116, allocations: 9.025 MB / 1.281 GB, free: 13.29 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/1.116, allocations: 15.94 kB / 1.281 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/1.116, allocations: 8 kB / 1.281 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01682/1.132, allocations: 4.979 MB / 1.286 GB, free: 8.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009232/1.133, allocations: 187.7 kB / 1.286 GB, free: 8.086 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05739/1.191, allocations: 38.93 MB / 1.324 GB, free: 0.582 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/1.193, allocations: 103.9 kB / 1.325 GB, free: 492 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003974/1.193, allocations: 71.98 kB / 1.325 GB, free: 420 kB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001574/1.195, allocations: 0.8067 MB / 1.325 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004279/1.195, allocations: 147.1 kB / 1.326 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01992/1.215, allocations: 8.894 MB / 1.334 GB, free: 6.516 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-05/1.215, allocations: 11.91 kB / 1.334 GB, free: 6.504 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.215, allocations: 0 / 1.334 GB, free: 6.504 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001588/1.217, allocations: 0.6328 MB / 1.335 GB, free: 5.852 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005824/1.217, allocations: 32 kB / 1.335 GB, free: 5.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/1.219, allocations: 95.88 kB / 1.335 GB, free: 5.727 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008602/1.22, allocations: 313.3 kB / 1.335 GB, free: 5.422 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01831/1.238, allocations: 8.082 MB / 1.343 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00955/1.248, allocations: 6.444 MB / 1.349 GB, free: 6.844 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002732/1.25, allocations: 2.139 MB / 1.352 GB, free: 4.703 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.00127/1.252, allocations: 0.7382 MB / 1.352 GB, free: 3.953 MB / 1.076 GB Notification: Performance of Backend: time 4.71e-07/1.252, allocations: 0 / 1.352 GB, free: 3.953 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.009844/1.262, allocations: 4.392 MB / 1.357 GB, free: 15.5 MB / 1.092 GB Notification: Performance of SimCode: time 0.008597/1.27, allocations: 5.347 MB / 1.362 GB, free: 10.11 MB / 1.092 GB Notification: Performance of Templates: time 0.09511/1.365, allocations: 54.11 MB / 1.415 GB, free: 4.156 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)