Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.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.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 107.1 kB / 16.36 MB, free: 5.996 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.00141/0.00141, allocations: 195.5 kB / 17.3 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.821/1.821, allocations: 292.3 MB / 0.5496 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 75.89 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.2365, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.4473/0.6839, allocations: 20.15 MB / 0.8045 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01088/0.6948, allocations: 6.493 MB / 0.8108 GB, free: 34.8 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002516/0.6974, allocations: 88.97 kB / 0.8109 GB, free: 34.78 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.005661/0.7031, allocations: 2.226 MB / 0.8131 GB, free: 33.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003801/0.7069, allocations: 1.187 MB / 0.8142 GB, free: 32.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004227/0.7112, allocations: 1.281 MB / 0.8155 GB, free: 32.01 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007734/0.7189, allocations: 4.852 MB / 0.8202 GB, free: 29.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008794/0.7278, allocations: 5.642 MB / 0.8257 GB, free: 27.77 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004207/0.732, allocations: 2.078 MB / 0.8278 GB, free: 26.82 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004789/0.7368, allocations: 2.343 MB / 0.8301 GB, free: 25.8 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001589/0.7385, allocations: 429.6 kB / 0.8305 GB, free: 25.8 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003635/0.7421, allocations: 1.003 MB / 0.8314 GB, free: 25.57 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003108/0.7453, allocations: 1.668 MB / 0.8331 GB, free: 24.88 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004884/0.7502, allocations: 1.916 MB / 0.8349 GB, free: 23.65 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01045/0.7606, allocations: 6.512 MB / 0.8413 GB, free: 21.6 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.7607, allocations: 0 / 0.8413 GB, free: 21.6 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7607, allocations: 0 / 0.8413 GB, free: 21.6 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002599/0.7609, allocations: 0 / 0.8413 GB, free: 21.6 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01188/0.7728, allocations: 3.468 MB / 0.8447 GB, free: 19.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.7729, allocations: 9.75 kB / 0.8447 GB, free: 19.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004172/0.7771, allocations: 0.6368 MB / 0.8453 GB, free: 19.27 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004875/0.782, allocations: 1.933 MB / 0.8472 GB, free: 17.96 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/0.7822, allocations: 222.3 kB / 0.8474 GB, free: 17.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009791/0.7832, allocations: 295.9 kB / 0.8477 GB, free: 17.76 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01144/0.7947, allocations: 4.889 MB / 0.8525 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001583/0.7949, allocations: 13.38 kB / 0.8525 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009338/0.7958, allocations: 121.5 kB / 0.8526 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005436/0.7964, allocations: 240.8 kB / 0.8528 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009978/0.8064, allocations: 3.741 MB / 0.8565 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03042/0.8368, allocations: 21.41 MB / 0.8774 GB, free: 8.809 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.839, allocations: 1.315 MB / 0.8787 GB, free: 8.113 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.8406, allocations: 1.051 MB / 0.8797 GB, free: 7.367 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.979e-05/0.8407, allocations: 9 kB / 0.8797 GB, free: 7.355 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.8408, allocations: 51.56 kB / 0.8798 GB, free: 7.297 MB / 0.67 GB Notification: Performance of pre-optimization done (n=107): time 4.047e-06/0.8408, allocations: 3.984 kB / 0.8798 GB, free: 7.293 MB / 0.67 GB Notification: Performance of matching and sorting (n=138): time 0.02503/0.8658, allocations: 8.648 MB / 0.8882 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.8659, allocations: 68.7 kB / 0.8883 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.8678, allocations: 1.126 MB / 0.8894 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001685/0.868, allocations: 45.7 kB / 0.8894 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008523/0.8689, allocations: 1.308 MB / 0.8907 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004691/0.8694, allocations: 481.1 kB / 0.8912 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005689/0.8699, allocations: 287.3 kB / 0.8914 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.8701, allocations: 309.1 kB / 0.8917 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.8715, allocations: 0.9096 MB / 0.8926 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/0.8732, allocations: 1.334 MB / 0.8939 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003403/0.8766, allocations: 2.426 MB / 0.8963 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.069e-05/0.8766, allocations: 4 kB / 0.8963 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007438/0.8841, allocations: 3.46 MB / 0.8997 GB, free: 2.43 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.8842, allocations: 12.25 kB / 0.8997 GB, free: 2.418 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.712e-05/0.8842, allocations: 12 kB / 0.8997 GB, free: 2.406 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00337/0.8876, allocations: 1.19 MB / 0.9009 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.8887, allocations: 255.5 kB / 0.9011 GB, free: 0.9609 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01781/0.9065, allocations: 13.84 MB / 0.9146 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.9082, allocations: 95.91 kB / 0.9147 GB, free: 2.617 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002981/0.9085, allocations: 67.94 kB / 0.9148 GB, free: 2.551 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002424/0.911, allocations: 1.114 MB / 0.9159 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005276/0.9115, allocations: 166 kB / 0.916 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006135/0.9177, allocations: 3.165 MB / 0.9191 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.9177, allocations: 12 kB / 0.9191 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.634e-05/0.9177, allocations: 15.94 kB / 0.9191 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.9178, allocations: 7.969 kB / 0.9191 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/0.9306, allocations: 6.245 MB / 0.9252 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.465e-05/0.9307, allocations: 4 kB / 0.9252 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006339/0.9313, allocations: 147.8 kB / 0.9254 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002938/0.9343, allocations: 1.073 MB / 0.9264 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001345/0.9345, allocations: 35.98 kB / 0.9265 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01709/0.9516, allocations: 13.53 MB / 0.9397 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.9516, allocations: 4 kB / 0.9397 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005572/0.9572, allocations: 3.154 MB / 0.9428 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/0.9584, allocations: 431 kB / 0.9432 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004392/0.9588, allocations: 31.94 kB / 0.9432 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.96, allocations: 83.89 kB / 0.9433 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000423/0.9604, allocations: 120.7 kB / 0.9434 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.875e-05/0.9605, allocations: 39.94 kB / 0.9434 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001256/0.9618, allocations: 0.771 MB / 0.9442 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9618, allocations: 0 / 0.9442 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002504/0.9643, allocations: 0.6602 MB / 0.9448 GB, free: 3.055 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002774/0.9646, allocations: 143 kB / 0.945 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004937/0.9695, allocations: 3.142 MB / 0.948 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/0.9695, allocations: 4 kB / 0.948 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.003019/0.9726, allocations: 1.944 MB / 0.9499 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002723/0.9753, allocations: 0.5064 MB / 0.9504 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/0.9864, allocations: 5.37 MB / 0.9557 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003333/0.9898, allocations: 2.34 MB / 0.958 GB, free: 5.445 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001243/0.9911, allocations: 346.1 kB / 0.9583 GB, free: 5.102 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.9914, allocations: 91.42 kB / 0.9584 GB, free: 5.012 MB / 0.7481 GB Notification: Performance of SimCode: time 1.032e-06/0.9914, allocations: 0 / 0.9584 GB, free: 5.012 MB / 0.7481 GB Notification: Performance of Templates: time 0.0541/1.046, allocations: 32.68 MB / 0.9903 GB, free: 4.805 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)