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.001285/0.001285, allocations: 108.8 kB / 16.42 MB, free: 6.457 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.001236/0.001236, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.416/1.416, allocations: 222.9 MB / 241.1 MB, free: 15.08 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.607/2.607, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 67.89 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.013, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01122/1.025, allocations: 10.08 MB / 1.177 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005694/1.03, allocations: 3.174 MB / 1.18 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007985/1.031, allocations: 39.81 kB / 1.18 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001734/1.033, allocations: 0.5955 MB / 1.181 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001727/1.035, allocations: 0.7818 MB / 1.182 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00153/1.036, allocations: 0.7394 MB / 1.182 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002797/1.039, allocations: 2.996 MB / 1.185 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002768/1.042, allocations: 2.602 MB / 1.188 GB, free: 14.71 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001695/1.044, allocations: 1.266 MB / 1.189 GB, free: 13.44 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/1.045, allocations: 1.562 MB / 1.191 GB, free: 11.87 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002774/1.046, allocations: 236 kB / 1.191 GB, free: 11.64 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009516/1.047, allocations: 0.4994 MB / 1.191 GB, free: 11.14 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0009605/1.048, allocations: 1.068 MB / 1.192 GB, free: 10.07 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/1.049, allocations: 1.116 MB / 1.193 GB, free: 8.949 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003294/1.052, allocations: 3.692 MB / 1.197 GB, free: 5.25 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/1.052, allocations: 0 / 1.197 GB, free: 5.25 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.463e-06/1.052, allocations: 0 / 1.197 GB, free: 5.25 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.528e-05/1.052, allocations: 4 kB / 1.197 GB, free: 5.246 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.003778/1.056, allocations: 2.19 MB / 1.199 GB, free: 2.996 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/1.056, allocations: 8.922 kB / 1.199 GB, free: 2.988 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008671/1.065, allocations: 1.326 MB / 1.2 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002285/1.067, allocations: 1.31 MB / 1.202 GB, free: 316 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.164e-05/1.067, allocations: 111.4 kB / 1.202 GB, free: 204 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000284/1.067, allocations: 144.3 kB / 1.202 GB, free: 60 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005174/1.072, allocations: 3.441 MB / 1.205 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/1.072, allocations: 0 / 1.205 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002046/1.073, allocations: 67.95 kB / 1.205 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002317/1.073, allocations: 203.1 kB / 1.206 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004571/1.077, allocations: 3.127 MB / 1.209 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01814/1.096, allocations: 13.57 MB / 1.222 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/1.098, allocations: 1.72 MB / 1.224 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001972/1.1, allocations: 1.444 MB / 1.225 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/1.1, allocations: 16.94 kB / 1.225 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/1.1, allocations: 43.56 kB / 1.225 GB, free: 7.434 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=104): time 2.845e-06/1.1, allocations: 0 / 1.225 GB, free: 7.434 MB / 0.9512 GB Notification: Performance of matching and sorting (n=183): time 0.1509/1.251, allocations: 36.71 MB / 1.261 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/1.251, allocations: 73.41 kB / 1.261 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00274/1.254, allocations: 1.054 MB / 1.262 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0005363/1.255, allocations: 53.7 kB / 1.262 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001232/1.256, allocations: 0.8093 MB / 1.263 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001112/1.257, allocations: 0.6545 MB / 1.264 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001398/1.258, allocations: 367.5 kB / 1.264 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.259, allocations: 301.1 kB / 1.264 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003489/1.262, allocations: 1.928 MB / 1.266 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003668/1.266, allocations: 2.285 MB / 1.268 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006675/1.273, allocations: 4.399 MB / 1.273 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.545e-05/1.273, allocations: 4 kB / 1.273 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02231/1.295, allocations: 9.025 MB / 1.281 GB, free: 13.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.997e-05/1.295, allocations: 18.75 kB / 1.281 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/1.295, allocations: 11.94 kB / 1.281 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01871/1.314, allocations: 4.97 MB / 1.286 GB, free: 8.285 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009371/1.315, allocations: 191.6 kB / 1.286 GB, free: 8.098 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06209/1.377, allocations: 38.93 MB / 1.324 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/1.379, allocations: 103.9 kB / 1.325 GB, free: 500 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004197/1.379, allocations: 67.98 kB / 1.325 GB, free: 432 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.00169/1.381, allocations: 0.8058 MB / 1.325 GB, free: 15.6 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004967/1.382, allocations: 147.1 kB / 1.326 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02221/1.404, allocations: 8.901 MB / 1.334 GB, free: 6.516 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.627e-05/1.404, allocations: 7.969 kB / 1.334 GB, free: 6.508 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.404, allocations: 0 / 1.334 GB, free: 6.508 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001547/1.406, allocations: 0.6328 MB / 1.335 GB, free: 5.855 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000552/1.406, allocations: 32 kB / 1.335 GB, free: 5.824 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00161/1.408, allocations: 91.88 kB / 1.335 GB, free: 5.734 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008331/1.409, allocations: 317.3 kB / 1.335 GB, free: 5.426 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02051/1.429, allocations: 8.082 MB / 1.343 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009561/1.439, allocations: 6.441 MB / 1.349 GB, free: 6.852 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002869/1.442, allocations: 2.143 MB / 1.352 GB, free: 4.707 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001269/1.443, allocations: 0.7382 MB / 1.352 GB, free: 3.957 MB / 1.076 GB Notification: Performance of Backend: time 4.81e-07/1.443, allocations: 0 / 1.352 GB, free: 3.957 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01043/1.453, allocations: 4.384 MB / 1.357 GB, free: 15.52 MB / 1.092 GB Notification: Performance of SimCode: time 0.009321/1.463, allocations: 5.352 MB / 1.362 GB, free: 10.13 MB / 1.092 GB Notification: Performance of Templates: time 0.08582/1.549, allocations: 54.1 MB / 1.415 GB, free: 4.172 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)