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.001504/0.001504, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001606/0.001606, allocations: 188.8 kB / 17.31 MB, free: 5.617 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.402/1.402, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.804/1.804, allocations: 292.3 MB / 0.5496 GB, free: 17.43 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.001416/0.001416, allocations: 67.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2008, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.3733/0.5742, allocations: 20.17 MB / 0.8045 GB, free: 38.96 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01048/0.5847, allocations: 6.49 MB / 0.8108 GB, free: 34.54 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002395/0.5872, allocations: 87.59 kB / 0.8109 GB, free: 34.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.005488/0.5928, allocations: 2.233 MB / 0.8131 GB, free: 33.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003728/0.5965, allocations: 1.183 MB / 0.8143 GB, free: 32.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003555/0.6001, allocations: 1.28 MB / 0.8155 GB, free: 31.74 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006875/0.607, allocations: 4.848 MB / 0.8202 GB, free: 29.56 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007053/0.614, allocations: 5.635 MB / 0.8257 GB, free: 27.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004046/0.6181, allocations: 2.087 MB / 0.8278 GB, free: 26.56 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004156/0.6223, allocations: 2.34 MB / 0.8301 GB, free: 25.55 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0009693/0.6233, allocations: 430.2 kB / 0.8305 GB, free: 25.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002635/0.6259, allocations: 1.003 MB / 0.8315 GB, free: 25.32 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002076/0.628, allocations: 1.668 MB / 0.8331 GB, free: 24.62 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002863/0.6309, allocations: 1.913 MB / 0.835 GB, free: 23.4 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008953/0.6398, allocations: 6.517 MB / 0.8413 GB, free: 21.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.6399, allocations: 3.938 kB / 0.8413 GB, free: 21.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.505e-06/0.6399, allocations: 1.188 kB / 0.8413 GB, free: 21.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000214/0.6401, allocations: 0 / 0.8413 GB, free: 21.34 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.008938/0.649, allocations: 3.455 MB / 0.8447 GB, free: 19.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.6491, allocations: 10.19 kB / 0.8447 GB, free: 19.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003577/0.6527, allocations: 0.6389 MB / 0.8453 GB, free: 19.03 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003503/0.6562, allocations: 2.042 MB / 0.8473 GB, free: 17.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/0.6564, allocations: 218.6 kB / 0.8475 GB, free: 17.56 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005513/0.657, allocations: 304.5 kB / 0.8478 GB, free: 17.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007949/0.6649, allocations: 4.883 MB / 0.8526 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.856e-05/0.665, allocations: 10.25 kB / 0.8526 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003281/0.6654, allocations: 126.5 kB / 0.8527 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004401/0.6658, allocations: 235.7 kB / 0.8529 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006056/0.6719, allocations: 3.749 MB / 0.8566 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0202/0.6921, allocations: 21.41 MB / 0.8775 GB, free: 8.504 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.6939, allocations: 1.308 MB / 0.8788 GB, free: 7.816 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.6954, allocations: 1.054 MB / 0.8798 GB, free: 7.078 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.191e-05/0.6955, allocations: 13 kB / 0.8798 GB, free: 7.062 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.6955, allocations: 47.55 kB / 0.8799 GB, free: 7.008 MB / 0.67 GB Notification: Performance of pre-optimization done (n=107): time 3.997e-06/0.6955, allocations: 7.984 kB / 0.8799 GB, free: 7 MB / 0.67 GB Notification: Performance of matching and sorting (n=138): time 0.02447/0.72, allocations: 8.648 MB / 0.8883 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.7201, allocations: 64.72 kB / 0.8884 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.7215, allocations: 1.126 MB / 0.8895 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.7217, allocations: 53.64 kB / 0.8895 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00076/0.7224, allocations: 1.304 MB / 0.8908 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003831/0.7228, allocations: 481.1 kB / 0.8913 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004464/0.7233, allocations: 291.3 kB / 0.8916 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.93e-05/0.7234, allocations: 305.1 kB / 0.8918 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.7246, allocations: 0.9135 MB / 0.8927 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.726, allocations: 1.334 MB / 0.894 GB, free: 8.211 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002849/0.7289, allocations: 2.418 MB / 0.8964 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.7289, allocations: 4 kB / 0.8964 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005857/0.7348, allocations: 3.468 MB / 0.8998 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.7348, allocations: 12 kB / 0.8998 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.7348, allocations: 16.12 kB / 0.8998 GB, free: 2.105 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003103/0.7379, allocations: 1.182 MB / 0.901 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000923/0.7389, allocations: 259.6 kB / 0.9012 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01654/0.7554, allocations: 13.83 MB / 0.9147 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.757, allocations: 95.97 kB / 0.9148 GB, free: 2.328 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.7572, allocations: 60 kB / 0.9149 GB, free: 2.27 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.001967/0.7591, allocations: 1.118 MB / 0.916 GB, free: 1.141 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/0.7595, allocations: 162 kB / 0.9161 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005546/0.765, allocations: 3.173 MB / 0.9192 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.765, allocations: 19.98 kB / 0.9192 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/0.7651, allocations: 15.94 kB / 0.9193 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.7651, allocations: 3.984 kB / 0.9193 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/0.7751, allocations: 6.244 MB / 0.9254 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.7751, allocations: 4.562 kB / 0.9254 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006066/0.7757, allocations: 152.1 kB / 0.9255 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002857/0.7786, allocations: 1.073 MB / 0.9266 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.851e-05/0.7787, allocations: 32 kB / 0.9266 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01649/0.7952, allocations: 13.53 MB / 0.9398 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.7953, allocations: 4 kB / 0.9398 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005239/0.8005, allocations: 3.154 MB / 0.9429 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009221/0.8014, allocations: 427 kB / 0.9433 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002183/0.8017, allocations: 35.94 kB / 0.9433 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008274/0.8025, allocations: 79.89 kB / 0.9434 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003305/0.8029, allocations: 128.7 kB / 0.9435 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.16e-05/0.8029, allocations: 36.38 kB / 0.9436 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001007/0.804, allocations: 0.7632 MB / 0.9443 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.71e-07/0.804, allocations: 4 kB / 0.9443 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002138/0.8061, allocations: 0.664 MB / 0.945 GB, free: 2.758 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.0002427/0.8064, allocations: 141.9 kB / 0.9451 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004708/0.8111, allocations: 3.138 MB / 0.9482 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.8111, allocations: 0 / 0.9482 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002846/0.814, allocations: 1.955 MB / 0.9501 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/0.8163, allocations: 0.4933 MB / 0.9505 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.8263, allocations: 5.814 MB / 0.9562 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002358/0.8287, allocations: 2.387 MB / 0.9586 GB, free: 4.664 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004341/0.8292, allocations: 99.42 kB / 0.9586 GB, free: 4.566 MB / 0.7481 GB Notification: Performance of SimCode: time 7.12e-07/0.8292, allocations: 0 / 0.9586 GB, free: 4.566 MB / 0.7481 GB Notification: Performance of Templates: time 0.0864/0.9156, allocations: 79.44 MB / 1.036 GB, free: 5.223 MB / 0.8262 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)