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.001116/0.001116, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001428/0.001428, allocations: 189.8 kB / 16.25 MB, free: 6.625 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.466/1.466, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.722/1.722, allocations: 292.3 MB / 0.5485 GB, free: 13.63 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.001455/0.001455, allocations: 66.22 kB / 0.671 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2991, allocations: 114.6 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02631/0.3254, allocations: 23.24 MB / 0.8056 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01429/0.3398, allocations: 6.489 MB / 0.8119 GB, free: 56 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004168/0.344, allocations: 83.67 kB / 0.812 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004855/0.3489, allocations: 1.352 MB / 0.8133 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006258/0.3551, allocations: 1.704 MB / 0.815 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004706/0.3599, allocations: 1.337 MB / 0.8163 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009209/0.3691, allocations: 6.935 MB / 0.823 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01323/0.3824, allocations: 8.144 MB / 0.831 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005294/0.3877, allocations: 2.878 MB / 0.8338 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006714/0.3944, allocations: 3.685 MB / 0.8374 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002297/0.3968, allocations: 0.5273 MB / 0.8379 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003855/0.4007, allocations: 1.178 MB / 0.8391 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.004179/0.4049, allocations: 2.472 MB / 0.8415 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005746/0.4106, allocations: 2.528 MB / 0.8439 GB, free: 15.08 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01315/0.4238, allocations: 8.518 MB / 0.8523 GB, free: 6.539 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.4238, allocations: 8 kB / 0.8523 GB, free: 6.531 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.755e-06/0.4239, allocations: 0 / 0.8523 GB, free: 6.531 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.000355/0.4242, allocations: 0 / 0.8523 GB, free: 6.531 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.01577/0.44, allocations: 4.428 MB / 0.8566 GB, free: 2.035 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.4401, allocations: 8.031 kB / 0.8566 GB, free: 2.027 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009659/0.4497, allocations: 1.681 MB / 0.8582 GB, free: 348 kB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006382/0.4561, allocations: 2.571 MB / 0.8608 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000304/0.4565, allocations: 279.7 kB / 0.861 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001752/0.4582, allocations: 364.2 kB / 0.8614 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01967/0.4779, allocations: 7.483 MB / 0.8687 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000166/0.4781, allocations: 7.938 kB / 0.8687 GB, free: 5.328 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001284/0.4794, allocations: 163.9 kB / 0.8688 GB, free: 5.168 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006813/0.4801, allocations: 491.3 kB / 0.8693 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01279/0.4929, allocations: 5.693 MB / 0.8749 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04815/0.5411, allocations: 31.73 MB / 0.9059 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003573/0.5447, allocations: 2.082 MB / 0.9079 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003139/0.5479, allocations: 2.186 MB / 0.91 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002445/0.5482, allocations: 17.25 kB / 0.91 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.5482, allocations: 55.88 kB / 0.9101 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.256e-06/0.5482, allocations: 0 / 0.9101 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=251): time 0.756/1.304, allocations: 76.99 MB / 0.9853 GB, free: 88.17 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/1.304, allocations: 78.34 kB / 0.9854 GB, free: 88.08 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002692/1.307, allocations: 1.666 MB / 0.987 GB, free: 86.37 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005139/1.308, allocations: 65.7 kB / 0.987 GB, free: 86.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008214/1.308, allocations: 1.75 MB / 0.9888 GB, free: 84.53 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001029/1.309, allocations: 0.8488 MB / 0.9896 GB, free: 83.69 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0013/1.311, allocations: 489.2 kB / 0.99 GB, free: 83.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 6.246e-05/1.311, allocations: 301.1 kB / 0.9903 GB, free: 82.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003185/1.314, allocations: 2.726 MB / 0.993 GB, free: 80.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003517/1.318, allocations: 3.339 MB / 0.9963 GB, free: 76.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00666/1.324, allocations: 6.389 MB / 1.002 GB, free: 69.96 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-05/1.324, allocations: 15.59 kB / 1.003 GB, free: 69.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02824/1.352, allocations: 14.68 MB / 1.017 GB, free: 55.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/1.353, allocations: 12.94 kB / 1.017 GB, free: 55.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.323e-05/1.353, allocations: 16 kB / 1.017 GB, free: 55.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02703/1.38, allocations: 9.304 MB / 1.026 GB, free: 45.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/1.381, allocations: 303.3 kB / 1.026 GB, free: 45.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06618/1.447, allocations: 52.38 MB / 1.077 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00312/1.45, allocations: 223.7 kB / 1.078 GB, free: 8.156 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003905/1.451, allocations: 96 kB / 1.078 GB, free: 8.062 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.003134/1.454, allocations: 1.587 MB / 1.079 GB, free: 6.465 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006809/1.455, allocations: 248.6 kB / 1.079 GB, free: 6.223 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03042/1.485, allocations: 14.76 MB / 1.094 GB, free: 7.402 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.048e-05/1.485, allocations: 24 kB / 1.094 GB, free: 7.379 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001845/1.485, allocations: 44 kB / 1.094 GB, free: 7.336 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.827e-05/1.485, allocations: 11.95 kB / 1.094 GB, free: 7.324 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04092/1.526, allocations: 20.5 MB / 1.114 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.878e-05/1.526, allocations: 4 kB / 1.114 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007654/1.527, allocations: 167.8 kB / 1.114 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02827/1.555, allocations: 9.058 MB / 1.123 GB, free: 9.414 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005939/1.556, allocations: 48 kB / 1.123 GB, free: 9.367 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07825/1.634, allocations: 51.97 MB / 1.174 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/1.634, allocations: 11.98 kB / 1.174 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03209/1.666, allocations: 14.36 MB / 1.188 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00298/1.669, allocations: 0.8499 MB / 1.189 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007242/1.67, allocations: 55.98 kB / 1.189 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/1.672, allocations: 207.7 kB / 1.189 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001656/1.674, allocations: 237.5 kB / 1.189 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002252/1.674, allocations: 68 kB / 1.189 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001867/1.676, allocations: 1.121 MB / 1.19 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.71e-07/1.676, allocations: 0 / 1.19 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.006491/1.683, allocations: 1.613 MB / 1.192 GB, free: 1.871 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.0004658/1.683, allocations: 163.1 kB / 1.192 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02282/1.706, allocations: 11.34 MB / 1.203 GB, free: 6.324 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/1.706, allocations: 0 / 1.203 GB, free: 6.324 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01802/1.724, allocations: 7.322 MB / 1.21 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003657/1.728, allocations: 0.5499 MB / 1.211 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01764/1.745, allocations: 10.63 MB / 1.221 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004533/1.75, allocations: 3.22 MB / 1.224 GB, free: 496 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001282/1.751, allocations: 392.5 kB / 1.225 GB, free: 104 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/1.751, allocations: 99.42 kB / 1.225 GB, free: 4 kB / 0.8887 GB Notification: Performance of SimCode: time 9.12e-07/1.751, allocations: 0 / 1.225 GB, free: 4 kB / 0.8887 GB Notification: Performance of Templates: time 0.617/2.368, allocations: 93.05 MB / 1.316 GB, free: 292 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)