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.001165/0.001166, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.45/1.45, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.727/1.727, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.002612/0.002613, allocations: 70.5 kB / 0.6715 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2929, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02884/0.3218, allocations: 23.41 MB / 0.8062 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01286/0.3347, allocations: 6.543 MB / 0.8126 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00303/0.3378, allocations: 95.5 kB / 0.8127 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00478/0.3427, allocations: 1.484 MB / 0.8142 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005542/0.3482, allocations: 1.828 MB / 0.816 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004357/0.3526, allocations: 1.465 MB / 0.8174 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009201/0.3618, allocations: 6.904 MB / 0.8241 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01138/0.3733, allocations: 7.008 MB / 0.831 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0055/0.3788, allocations: 2.835 MB / 0.8337 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006934/0.3858, allocations: 3.47 MB / 0.8371 GB, free: 6.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002313/0.3882, allocations: 0.5273 MB / 0.8376 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004979/0.3932, allocations: 1.178 MB / 0.8388 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005371/0.3986, allocations: 2.46 MB / 0.8412 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.008205/0.4068, allocations: 2.54 MB / 0.8437 GB, free: 15.45 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01476/0.4216, allocations: 8.456 MB / 0.8519 GB, free: 6.977 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.4217, allocations: 0 / 0.8519 GB, free: 6.977 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.876e-06/0.4217, allocations: 0 / 0.8519 GB, free: 6.977 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000359/0.422, allocations: 4 kB / 0.8519 GB, free: 6.973 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.01471/0.4368, allocations: 4.42 MB / 0.8563 GB, free: 2.484 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.4368, allocations: 12.03 kB / 0.8563 GB, free: 2.473 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009858/0.4467, allocations: 1.681 MB / 0.8579 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00593/0.4527, allocations: 2.571 MB / 0.8604 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002822/0.453, allocations: 279.7 kB / 0.8607 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001447/0.4545, allocations: 356.3 kB / 0.861 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01775/0.4722, allocations: 7.495 MB / 0.8683 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002088/0.4725, allocations: 15.88 kB / 0.8684 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001652/0.4741, allocations: 163.9 kB / 0.8685 GB, free: 5.594 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006876/0.4748, allocations: 487.3 kB / 0.869 GB, free: 5.117 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01503/0.4899, allocations: 5.701 MB / 0.8745 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05132/0.5413, allocations: 31.72 MB / 0.9055 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00377/0.5451, allocations: 2.082 MB / 0.9076 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003381/0.5485, allocations: 2.186 MB / 0.9097 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002723/0.5488, allocations: 17.3 kB / 0.9097 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.5489, allocations: 47.88 kB / 0.9097 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 6.472e-06/0.5489, allocations: 0 / 0.9097 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=251): time 0.8719/1.421, allocations: 77 MB / 0.9849 GB, free: 88.52 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/1.421, allocations: 80.97 kB / 0.985 GB, free: 88.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002762/1.424, allocations: 1.67 MB / 0.9867 GB, free: 86.72 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005981/1.424, allocations: 65.7 kB / 0.9867 GB, free: 86.65 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008011/1.425, allocations: 1.739 MB / 0.9884 GB, free: 84.89 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007193/1.426, allocations: 0.8571 MB / 0.9893 GB, free: 84.04 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008607/1.427, allocations: 481.2 kB / 0.9897 GB, free: 83.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.531e-05/1.427, allocations: 305.1 kB / 0.99 GB, free: 83.27 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002886/1.43, allocations: 2.734 MB / 0.9927 GB, free: 80.53 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003073/1.433, allocations: 3.332 MB / 0.9959 GB, free: 76.95 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006407/1.439, allocations: 6.393 MB / 1.002 GB, free: 70.31 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/1.439, allocations: 7.938 kB / 1.002 GB, free: 70.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02821/1.467, allocations: 14.68 MB / 1.017 GB, free: 55.58 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/1.467, allocations: 12 kB / 1.017 GB, free: 55.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/1.467, allocations: 20 kB / 1.017 GB, free: 55.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02605/1.494, allocations: 9.291 MB / 1.026 GB, free: 46.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/1.495, allocations: 303.4 kB / 1.026 GB, free: 45.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06777/1.563, allocations: 52.39 MB / 1.077 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00317/1.566, allocations: 225.6 kB / 1.077 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003586/1.566, allocations: 100 kB / 1.077 GB, free: 8.422 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.003533/1.57, allocations: 1.587 MB / 1.079 GB, free: 6.824 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008781/1.571, allocations: 241.1 kB / 1.079 GB, free: 6.586 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03266/1.603, allocations: 14.77 MB / 1.094 GB, free: 7.758 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-05/1.603, allocations: 24 kB / 1.094 GB, free: 7.734 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000164/1.603, allocations: 44 kB / 1.094 GB, free: 7.691 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.827e-05/1.604, allocations: 11.95 kB / 1.094 GB, free: 7.68 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04335/1.647, allocations: 20.51 MB / 1.114 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.465e-05/1.647, allocations: 8 kB / 1.114 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007881/1.648, allocations: 164.6 kB / 1.114 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02892/1.677, allocations: 9.059 MB / 1.123 GB, free: 9.773 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006735/1.677, allocations: 51.98 kB / 1.123 GB, free: 9.723 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08118/1.759, allocations: 51.96 MB / 1.173 GB, free: 4.934 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.759, allocations: 11.94 kB / 1.173 GB, free: 4.922 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03251/1.791, allocations: 14.36 MB / 1.188 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002584/1.794, allocations: 0.8453 MB / 1.188 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005633/1.794, allocations: 51.98 kB / 1.188 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002143/1.797, allocations: 203.7 kB / 1.189 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001336/1.798, allocations: 245.5 kB / 1.189 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002044/1.798, allocations: 60 kB / 1.189 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001527/1.8, allocations: 1.13 MB / 1.19 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/1.8, allocations: 4 kB / 1.19 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.004945/1.805, allocations: 1.609 MB / 1.192 GB, free: 2.238 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.0004312/1.805, allocations: 163.7 kB / 1.192 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02556/1.831, allocations: 11.35 MB / 1.203 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.638e-05/1.831, allocations: 224 / 1.203 GB, free: 6.688 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0193/1.85, allocations: 7.311 MB / 1.21 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003114/1.853, allocations: 0.5547 MB / 1.21 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01669/1.87, allocations: 8.788 MB / 1.219 GB, free: 5.953 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00415/1.874, allocations: 3.228 MB / 1.222 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001236/1.875, allocations: 388.3 kB / 1.223 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/1.876, allocations: 99.42 kB / 1.223 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of SimCode: time 1.112e-06/1.876, allocations: 0 / 1.223 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of Templates: time 0.5416/2.417, allocations: 91.83 MB / 1.312 GB, free: 292.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)