Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000891/0.0008913, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001115/0.001115, allocations: 176.8 kB / 16.27 MB, free: 6.672 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.524/1.524, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.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.741/1.741, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005114/0.0005115, allocations: 14.19 kB / 0.6743 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.298, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02353/0.3216, allocations: 22.58 MB / 0.8099 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.333, allocations: 6.489 MB / 0.8163 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002541/0.3356, allocations: 79.5 kB / 0.8164 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.3375, allocations: 468.5 kB / 0.8168 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005669/0.3432, allocations: 1.747 MB / 0.8185 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003745/0.3469, allocations: 1.201 MB / 0.8197 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0113/0.3583, allocations: 10.6 MB / 0.83 GB, free: 280 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01357/0.3719, allocations: 8.058 MB / 0.8379 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004635/0.3765, allocations: 2.077 MB / 0.8399 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006/0.3826, allocations: 3.189 MB / 0.843 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001709/0.3843, allocations: 244 kB / 0.8433 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003997/0.3883, allocations: 1.065 MB / 0.8443 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004343/0.3927, allocations: 2.101 MB / 0.8464 GB, free: 15.44 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00499/0.3977, allocations: 2.135 MB / 0.8485 GB, free: 13.29 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.409, allocations: 8.13 MB / 0.8564 GB, free: 5.129 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.409, allocations: 4 kB / 0.8564 GB, free: 5.125 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.715e-06/0.409, allocations: 0 / 0.8564 GB, free: 5.125 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003308/0.4094, allocations: 0 / 0.8564 GB, free: 5.125 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.009454/0.4188, allocations: 3.562 MB / 0.8599 GB, free: 1.496 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.4189, allocations: 15.97 kB / 0.8599 GB, free: 1.48 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009304/0.4282, allocations: 1.685 MB / 0.8615 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005691/0.4339, allocations: 2.563 MB / 0.864 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003003/0.4343, allocations: 279.7 kB / 0.8643 GB, free: 12.9 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001507/0.4358, allocations: 360.3 kB / 0.8647 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02064/0.4565, allocations: 7.491 MB / 0.872 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001821/0.4567, allocations: 19.72 kB / 0.872 GB, free: 4.77 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001263/0.458, allocations: 163.9 kB / 0.8721 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007238/0.4587, allocations: 487.3 kB / 0.8726 GB, free: 4.133 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01239/0.4711, allocations: 5.705 MB / 0.8782 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04871/0.5199, allocations: 31.7 MB / 0.9091 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003743/0.5237, allocations: 2.086 MB / 0.9112 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003506/0.5272, allocations: 2.17 MB / 0.9133 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002927/0.5276, allocations: 17.31 kB / 0.9133 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.65e-05/0.5277, allocations: 51.88 kB / 0.9134 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 6.051e-06/0.5277, allocations: 0 / 0.9134 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of matching and sorting (n=251): time 0.8247/1.352, allocations: 75.27 MB / 0.9869 GB, free: 87.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.253e-05/1.353, allocations: 77.41 kB / 0.9869 GB, free: 87.31 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002849/1.355, allocations: 1.666 MB / 0.9886 GB, free: 85.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0007497/1.356, allocations: 69.64 kB / 0.9886 GB, free: 85.52 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/1.357, allocations: 1.743 MB / 0.9903 GB, free: 83.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001044/1.358, allocations: 0.8535 MB / 0.9912 GB, free: 82.92 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005285/1.359, allocations: 211 kB / 0.9914 GB, free: 82.71 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.243e-05/1.359, allocations: 301.1 kB / 0.9916 GB, free: 82.41 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003401/1.362, allocations: 2.73 MB / 0.9943 GB, free: 79.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00352/1.366, allocations: 3.336 MB / 0.9976 GB, free: 76.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006719/1.373, allocations: 6.388 MB / 1.004 GB, free: 69.47 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/1.373, allocations: 4 kB / 1.004 GB, free: 69.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02946/1.402, allocations: 14.68 MB / 1.018 GB, free: 54.74 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/1.402, allocations: 12.97 kB / 1.018 GB, free: 54.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/1.402, allocations: 23.94 kB / 1.018 GB, free: 54.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02711/1.429, allocations: 9.236 MB / 1.027 GB, free: 45.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/1.431, allocations: 307.4 kB / 1.027 GB, free: 45.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06528/1.496, allocations: 47.14 MB / 1.074 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003381/1.499, allocations: 223.7 kB / 1.074 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004022/1.5, allocations: 100 kB / 1.074 GB, free: 12.88 MB / 0.7481 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003183/1.503, allocations: 1.583 MB / 1.075 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006915/1.504, allocations: 241.1 kB / 1.076 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03411/1.538, allocations: 14.75 MB / 1.09 GB, free: 12.24 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.101e-05/1.538, allocations: 28 kB / 1.09 GB, free: 12.21 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001715/1.538, allocations: 44 kB / 1.09 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.302e-05/1.538, allocations: 12.89 kB / 1.09 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04336/1.582, allocations: 20.53 MB / 1.11 GB, free: 7.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.17e-05/1.582, allocations: 5.75 kB / 1.11 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007918/1.583, allocations: 159.8 kB / 1.11 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02897/1.611, allocations: 9.007 MB / 1.119 GB, free: 14.29 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005636/1.612, allocations: 55.94 kB / 1.119 GB, free: 14.23 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0731/1.685, allocations: 46.74 MB / 1.165 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/1.685, allocations: 7.938 kB / 1.165 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03259/1.718, allocations: 14.36 MB / 1.179 GB, free: 164 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002376/1.72, allocations: 0.854 MB / 1.18 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006141/1.721, allocations: 48 kB / 1.18 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002322/1.723, allocations: 207.7 kB / 1.18 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001451/1.725, allocations: 241.5 kB / 1.18 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000213/1.725, allocations: 64 kB / 1.18 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00158/1.727, allocations: 1.129 MB / 1.181 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/1.727, allocations: 0 / 1.181 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005573/1.732, allocations: 1.613 MB / 1.183 GB, free: 11.97 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000567/1.733, allocations: 159 kB / 1.183 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02331/1.756, allocations: 10.36 MB / 1.193 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/1.756, allocations: 4 kB / 1.193 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.01877/1.775, allocations: 7.176 MB / 1.2 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004679/1.78, allocations: 0.511 MB / 1.201 GB, free: 9.641 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01658/1.796, allocations: 10.62 MB / 1.211 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004067/1.8, allocations: 3.224 MB / 1.214 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001265/1.802, allocations: 387.4 kB / 1.215 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/1.802, allocations: 99.42 kB / 1.215 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of SimCode: time 7.51e-07/1.802, allocations: 4 kB / 1.215 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of Templates: time 0.5892/2.391, allocations: 86.28 MB / 1.299 GB, free: 301.9 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) Environment - environmentSimulation: