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.001176/0.001176, allocations: 105.1 kB / 16.29 MB, free: 6.031 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.001246/0.001246, allocations: 179.3 kB / 17.22 MB, free: 5.641 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.447/1.447, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.797/1.797, allocations: 292.3 MB / 0.5495 GB, free: 17.7 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.00148/0.00148, allocations: 71.89 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3145, allocations: 114.6 MB / 0.7841 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.5341/0.8486, allocations: 23.4 MB / 0.8069 GB, free: 37.12 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01344/0.8621, allocations: 6.53 MB / 0.8133 GB, free: 32.63 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002747/0.8649, allocations: 98.28 kB / 0.8134 GB, free: 32.6 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004147/0.8691, allocations: 1.481 MB / 0.8149 GB, free: 31.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005678/0.8747, allocations: 1.831 MB / 0.8167 GB, free: 30.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004628/0.8794, allocations: 1.459 MB / 0.8181 GB, free: 29.89 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01217/0.8916, allocations: 6.902 MB / 0.8248 GB, free: 26.92 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01056/0.9022, allocations: 7.002 MB / 0.8317 GB, free: 24.32 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006612/0.9088, allocations: 2.851 MB / 0.8344 GB, free: 23.05 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006509/0.9153, allocations: 3.471 MB / 0.8378 GB, free: 21.6 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002264/0.9176, allocations: 0.5273 MB / 0.8383 GB, free: 21.6 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005367/0.923, allocations: 1.173 MB / 0.8395 GB, free: 21.36 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.007033/0.9301, allocations: 2.471 MB / 0.8419 GB, free: 20.44 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.008921/0.939, allocations: 2.532 MB / 0.8444 GB, free: 18.82 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01514/0.9542, allocations: 8.522 MB / 0.8527 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.9542, allocations: 0 / 0.8527 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.806e-06/0.9542, allocations: 4 kB / 0.8527 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003632/0.9546, allocations: 1.281 kB / 0.8527 GB, free: 14.43 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01951/0.9741, allocations: 4.418 MB / 0.857 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.9742, allocations: 11.53 kB / 0.857 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.9845, allocations: 1.687 MB / 0.8587 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008115/0.9927, allocations: 2.57 MB / 0.8612 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003588/0.993, allocations: 275 kB / 0.8614 GB, free: 8.789 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002683/0.9957, allocations: 360.2 kB / 0.8618 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02028/1.016, allocations: 7.485 MB / 0.8691 GB, free: 3.969 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/1.016, allocations: 23.77 kB / 0.8691 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005609/1.017, allocations: 159.9 kB / 0.8693 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005016/1.017, allocations: 483.4 kB / 0.8697 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01063/1.028, allocations: 5.701 MB / 0.8753 GB, free: 13.61 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04696/1.075, allocations: 31.51 MB / 0.9061 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00335/1.078, allocations: 2.082 MB / 0.9081 GB, free: 9.238 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003409/1.082, allocations: 2.182 MB / 0.9102 GB, free: 7.055 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/1.082, allocations: 13.31 kB / 0.9102 GB, free: 7.039 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/1.082, allocations: 51.88 kB / 0.9103 GB, free: 6.98 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 4.338e-06/1.082, allocations: 3.938 kB / 0.9103 GB, free: 6.977 MB / 0.7012 GB Notification: Performance of matching and sorting (n=251): time 0.2752/1.357, allocations: 77 MB / 0.9855 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/1.357, allocations: 81.34 kB / 0.9856 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002611/1.36, allocations: 1.67 MB / 0.9872 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0004872/1.36, allocations: 65.7 kB / 0.9873 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001171/1.362, allocations: 1.747 MB / 0.989 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001026/1.363, allocations: 0.8509 MB / 0.9898 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/1.364, allocations: 493.2 kB / 0.9903 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.565e-05/1.364, allocations: 302.6 kB / 0.9906 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003888/1.368, allocations: 2.726 MB / 0.9932 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004384/1.372, allocations: 3.332 MB / 0.9965 GB, free: 14.23 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00867/1.381, allocations: 6.389 MB / 1.003 GB, free: 7.598 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.439e-05/1.381, allocations: 11.94 kB / 1.003 GB, free: 7.586 MB / 0.795 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03213/1.413, allocations: 14.68 MB / 1.017 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.525e-05/1.413, allocations: 12.97 kB / 1.017 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/1.413, allocations: 16 kB / 1.017 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02828/1.441, allocations: 9.238 MB / 1.026 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/1.443, allocations: 303.4 kB / 1.026 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08393/1.527, allocations: 52.34 MB / 1.078 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003328/1.53, allocations: 223.7 kB / 1.078 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006228/1.531, allocations: 96 kB / 1.078 GB, free: 9.734 MB / 0.8731 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.003967/1.535, allocations: 1.586 MB / 1.079 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008957/1.536, allocations: 249 kB / 1.08 GB, free: 7.891 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03265/1.568, allocations: 14.76 MB / 1.094 GB, free: 9.074 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-05/1.568, allocations: 29.91 kB / 1.094 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001587/1.569, allocations: 44 kB / 1.094 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.586e-05/1.569, allocations: 11.95 kB / 1.094 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04316/1.612, allocations: 20.51 MB / 1.114 GB, free: 4.285 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-05/1.612, allocations: 4 kB / 1.114 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000774/1.613, allocations: 171.8 kB / 1.114 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0281/1.641, allocations: 9.005 MB / 1.123 GB, free: 11.08 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005775/1.641, allocations: 52 kB / 1.123 GB, free: 11.03 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5563/2.198, allocations: 51.89 MB / 1.174 GB, free: 279.3 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/2.198, allocations: 11.31 kB / 1.174 GB, free: 279.3 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03036/2.228, allocations: 14.37 MB / 1.188 GB, free: 275.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00218/2.23, allocations: 0.8482 MB / 1.189 GB, free: 275.1 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006147/2.231, allocations: 45.06 kB / 1.189 GB, free: 275.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/2.233, allocations: 210.7 kB / 1.189 GB, free: 275.1 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001406/2.234, allocations: 246.4 kB / 1.189 GB, free: 275 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002346/2.234, allocations: 68.25 kB / 1.189 GB, free: 275 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001796/2.236, allocations: 1.126 MB / 1.19 GB, free: 274.6 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.61e-07/2.236, allocations: 0 / 1.19 GB, free: 274.6 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.006654/2.243, allocations: 1.612 MB / 1.192 GB, free: 274.5 MB / 0.92 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.0005011/2.243, allocations: 163.9 kB / 1.192 GB, free: 274.3 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01908/2.263, allocations: 10.55 MB / 1.202 GB, free: 270.7 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/2.263, allocations: 4.062 kB / 1.202 GB, free: 270.6 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0163/2.279, allocations: 7.321 MB / 1.21 GB, free: 267 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003399/2.282, allocations: 0.5581 MB / 1.21 GB, free: 266.8 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/2.296, allocations: 8.689 MB / 1.219 GB, free: 258.2 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002804/2.299, allocations: 3.224 MB / 1.222 GB, free: 254.9 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001017/2.3, allocations: 387.7 kB / 1.222 GB, free: 254.6 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/2.3, allocations: 104.3 kB / 1.222 GB, free: 254.4 MB / 0.92 GB Notification: Performance of SimCode: time 7.72e-07/2.3, allocations: 0 / 1.222 GB, free: 254.4 MB / 0.92 GB Notification: Performance of Templates: time 0.1132/2.413, allocations: 91.84 MB / 1.312 GB, free: 163.1 MB / 0.92 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)