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.001138/0.001138, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001351/0.001352, allocations: 193 kB / 16.13 MB, free: 6.707 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.496/1.496, allocations: 205.1 MB / 222 MB, free: 4.777 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.749/1.749, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.001367/0.001367, allocations: 64.02 kB / 0.6708 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2517, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.0252/0.2769, allocations: 23.24 MB / 0.8054 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0115/0.2885, allocations: 6.551 MB / 0.8118 GB, free: 96 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002494/0.291, allocations: 87.5 kB / 0.8119 GB, free: 8 kB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.004362/0.2954, allocations: 1.342 MB / 0.8132 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00523/0.3006, allocations: 1.747 MB / 0.8149 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004146/0.3048, allocations: 1.331 MB / 0.8162 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01179/0.3166, allocations: 10.61 MB / 0.8265 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01147/0.3281, allocations: 7.622 MB / 0.834 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004222/0.3324, allocations: 2.409 MB / 0.8363 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006135/0.3385, allocations: 3.599 MB / 0.8398 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001774/0.3403, allocations: 380 kB / 0.8402 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003551/0.3439, allocations: 1.205 MB / 0.8414 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003898/0.3478, allocations: 2.315 MB / 0.8436 GB, free: 15.32 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.005063/0.3529, allocations: 2.353 MB / 0.8459 GB, free: 12.95 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01154/0.3645, allocations: 8.382 MB / 0.8541 GB, free: 4.547 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.3645, allocations: 0 / 0.8541 GB, free: 4.547 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3645, allocations: 0 / 0.8541 GB, free: 4.547 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002765/0.3648, allocations: 0 / 0.8541 GB, free: 4.547 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.009386/0.3742, allocations: 4.428 MB / 0.8584 GB, free: 52 kB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3743, allocations: 8.031 kB / 0.8585 GB, free: 44 kB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00814/0.3824, allocations: 1.677 MB / 0.8601 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005434/0.3879, allocations: 2.575 MB / 0.8626 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002399/0.3882, allocations: 279.7 kB / 0.8629 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001255/0.3894, allocations: 360.3 kB / 0.8632 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01427/0.4037, allocations: 7.487 MB / 0.8705 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-05/0.4038, allocations: 11.88 kB / 0.8705 GB, free: 3.34 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005632/0.4044, allocations: 163.9 kB / 0.8707 GB, free: 3.18 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005813/0.405, allocations: 483.3 kB / 0.8712 GB, free: 2.707 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01032/0.4153, allocations: 5.701 MB / 0.8767 GB, free: 13 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03631/0.4517, allocations: 31.73 MB / 0.9077 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003321/0.455, allocations: 2.082 MB / 0.9097 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002965/0.458, allocations: 2.182 MB / 0.9119 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/0.4582, allocations: 17.31 kB / 0.9119 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.4583, allocations: 51.81 kB / 0.9119 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.436e-06/0.4583, allocations: 4 kB / 0.9119 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of matching and sorting (n=251): time 0.7708/1.229, allocations: 76.99 MB / 0.9871 GB, free: 86.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/1.229, allocations: 77.41 kB / 0.9872 GB, free: 86.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/1.232, allocations: 1.67 MB / 0.9888 GB, free: 84.38 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005984/1.233, allocations: 65.7 kB / 0.9889 GB, free: 84.31 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008807/1.233, allocations: 1.739 MB / 0.9906 GB, free: 82.56 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009601/1.234, allocations: 0.8579 MB / 0.9914 GB, free: 81.71 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001275/1.236, allocations: 485.2 kB / 0.9919 GB, free: 81.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.378e-05/1.236, allocations: 309.1 kB / 0.9922 GB, free: 80.92 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003248/1.239, allocations: 2.726 MB / 0.9948 GB, free: 78.19 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003477/1.243, allocations: 3.332 MB / 0.9981 GB, free: 74.61 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007009/1.25, allocations: 6.393 MB / 1.004 GB, free: 67.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-05/1.25, allocations: 7.938 kB / 1.004 GB, free: 67.97 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02791/1.278, allocations: 14.68 MB / 1.019 GB, free: 53.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/1.278, allocations: 16 kB / 1.019 GB, free: 53.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/1.278, allocations: 16.91 kB / 1.019 GB, free: 53.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02663/1.304, allocations: 9.241 MB / 1.028 GB, free: 43.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/1.305, allocations: 303.5 kB / 1.028 GB, free: 43.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06191/1.367, allocations: 47.44 MB / 1.074 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003636/1.371, allocations: 222.5 kB / 1.075 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005628/1.372, allocations: 100 kB / 1.075 GB, free: 11.11 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.004075/1.376, allocations: 1.586 MB / 1.076 GB, free: 9.516 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008155/1.377, allocations: 241.1 kB / 1.076 GB, free: 9.277 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03024/1.407, allocations: 14.76 MB / 1.091 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/1.407, allocations: 24 kB / 1.091 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001422/1.407, allocations: 44 kB / 1.091 GB, free: 10.4 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.294e-05/1.407, allocations: 11.95 kB / 1.091 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03899/1.446, allocations: 20.52 MB / 1.111 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.398e-05/1.446, allocations: 8.844 kB / 1.111 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007735/1.447, allocations: 163.7 kB / 1.111 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02765/1.475, allocations: 9.005 MB / 1.12 GB, free: 12.53 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005172/1.475, allocations: 48 kB / 1.12 GB, free: 12.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07221/1.547, allocations: 47.02 MB / 1.166 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.548, allocations: 15.94 kB / 1.166 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03196/1.579, allocations: 14.36 MB / 1.18 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002268/1.582, allocations: 0.8493 MB / 1.181 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009928/1.583, allocations: 47.98 kB / 1.181 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002446/1.585, allocations: 210.8 kB / 1.181 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001612/1.587, allocations: 241.4 kB / 1.181 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000363/1.587, allocations: 68 kB / 1.181 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002106/1.589, allocations: 1.125 MB / 1.182 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.2e-07/1.589, allocations: 7.656 kB / 1.182 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.006176/1.596, allocations: 1.613 MB / 1.184 GB, free: 9.961 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.0006021/1.596, allocations: 166.7 kB / 1.184 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02271/1.619, allocations: 10.53 MB / 1.194 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/1.619, allocations: 3.938 kB / 1.194 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01815/1.637, allocations: 7.309 MB / 1.202 GB, free: 7.84 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005247/1.642, allocations: 0.5186 MB / 1.202 GB, free: 7.328 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02104/1.664, allocations: 10.61 MB / 1.212 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005551/1.669, allocations: 3.23 MB / 1.216 GB, free: 9.402 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001417/1.671, allocations: 385 kB / 1.216 GB, free: 9.027 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/1.671, allocations: 103.4 kB / 1.216 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of SimCode: time 6.21e-07/1.671, allocations: 0 / 1.216 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of Templates: time 0.5943/2.265, allocations: 89.67 MB / 1.304 GB, free: 290.8 MB / 0.9356 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (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)