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.001293/0.001293, allocations: 102.9 kB / 16.27 MB, free: 6.359 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.00128/0.00128, allocations: 194.9 kB / 17.2 MB, free: 5.953 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.502/1.502, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.865/1.865, allocations: 292.3 MB / 0.5495 GB, free: 17.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.001475/0.001475, allocations: 72.31 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2088, allocations: 114.6 MB / 0.784 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.3917/0.6005, allocations: 23.41 MB / 0.8069 GB, free: 37.03 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01065/0.6112, allocations: 6.523 MB / 0.8133 GB, free: 32.54 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0034/0.6146, allocations: 95.72 kB / 0.8134 GB, free: 32.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004909/0.6196, allocations: 1.487 MB / 0.8148 GB, free: 31.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005798/0.6254, allocations: 1.832 MB / 0.8166 GB, free: 30.58 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004461/0.6299, allocations: 1.458 MB / 0.818 GB, free: 29.79 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009661/0.6396, allocations: 6.903 MB / 0.8248 GB, free: 26.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01057/0.6502, allocations: 7.001 MB / 0.8316 GB, free: 24.23 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00629/0.6565, allocations: 2.833 MB / 0.8344 GB, free: 22.96 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007364/0.6639, allocations: 3.479 MB / 0.8378 GB, free: 21.51 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002684/0.6667, allocations: 0.5272 MB / 0.8383 GB, free: 21.51 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005397/0.6721, allocations: 1.173 MB / 0.8394 GB, free: 21.27 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.005728/0.6778, allocations: 2.47 MB / 0.8418 GB, free: 20.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007028/0.6849, allocations: 2.525 MB / 0.8443 GB, free: 18.74 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01225/0.6972, allocations: 8.474 MB / 0.8526 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.6972, allocations: 1.219 kB / 0.8526 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6972, allocations: 3.938 kB / 0.8526 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002786/0.6975, allocations: 0 / 0.8526 GB, free: 14.46 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.01378/0.7113, allocations: 4.423 MB / 0.8569 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.7114, allocations: 13.34 kB / 0.8569 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.7215, allocations: 1.679 MB / 0.8586 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006318/0.7279, allocations: 2.576 MB / 0.8611 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002526/0.7282, allocations: 278.4 kB / 0.8613 GB, free: 8.816 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001721/0.7299, allocations: 356.8 kB / 0.8617 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01575/0.7457, allocations: 7.481 MB / 0.869 GB, free: 3.984 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/0.7458, allocations: 27.77 kB / 0.869 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006717/0.7465, allocations: 159.9 kB / 0.8692 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004977/0.747, allocations: 487.4 kB / 0.8696 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/0.7581, allocations: 5.697 MB / 0.8752 GB, free: 13.62 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03994/0.7981, allocations: 31.72 MB / 0.9062 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002839/0.801, allocations: 2.094 MB / 0.9082 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002845/0.8039, allocations: 2.178 MB / 0.9103 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.804, allocations: 17.31 kB / 0.9104 GB, free: 6.828 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.8041, allocations: 47.88 kB / 0.9104 GB, free: 6.773 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 3.356e-06/0.8041, allocations: 0 / 0.9104 GB, free: 6.773 MB / 0.7012 GB Notification: Performance of matching and sorting (n=251): time 0.3141/1.118, allocations: 77 MB / 0.9856 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/1.118, allocations: 77.41 kB / 0.9857 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/1.121, allocations: 1.67 MB / 0.9873 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0004554/1.121, allocations: 65.7 kB / 0.9874 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001127/1.122, allocations: 1.743 MB / 0.9891 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.001067/1.123, allocations: 0.8548 MB / 0.9899 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001171/1.125, allocations: 485.2 kB / 0.9904 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.887e-05/1.125, allocations: 305.1 kB / 0.9907 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003671/1.128, allocations: 2.726 MB / 0.9933 GB, free: 1.613 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004108/1.133, allocations: 3.332 MB / 0.9966 GB, free: 14.03 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008173/1.141, allocations: 6.393 MB / 1.003 GB, free: 7.395 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.747e-05/1.141, allocations: 8 kB / 1.003 GB, free: 7.387 MB / 0.795 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.0334/1.174, allocations: 14.68 MB / 1.017 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.618e-05/1.174, allocations: 12 kB / 1.017 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-05/1.174, allocations: 16 kB / 1.017 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02985/1.204, allocations: 9.302 MB / 1.026 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/1.205, allocations: 299.5 kB / 1.027 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08217/1.288, allocations: 52.39 MB / 1.078 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003292/1.291, allocations: 223.8 kB / 1.078 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005022/1.292, allocations: 99.94 kB / 1.078 GB, free: 9.43 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.00331/1.295, allocations: 1.586 MB / 1.08 GB, free: 7.832 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007504/1.296, allocations: 249 kB / 1.08 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03359/1.329, allocations: 14.76 MB / 1.094 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.592e-05/1.329, allocations: 24 kB / 1.094 GB, free: 8.742 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001503/1.329, allocations: 45.5 kB / 1.094 GB, free: 8.699 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-05/1.329, allocations: 11.95 kB / 1.094 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04781/1.377, allocations: 20.51 MB / 1.114 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.07e-05/1.377, allocations: 4.844 kB / 1.114 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008431/1.378, allocations: 167.7 kB / 1.115 GB, free: 3.809 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03021/1.408, allocations: 9.061 MB / 1.123 GB, free: 10.72 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006155/1.409, allocations: 48 kB / 1.123 GB, free: 10.67 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4435/1.853, allocations: 51.93 MB / 1.174 GB, free: 278.3 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/1.853, allocations: 9.812 kB / 1.174 GB, free: 278.3 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03149/1.884, allocations: 14.37 MB / 1.188 GB, free: 274.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002246/1.886, allocations: 0.8464 MB / 1.189 GB, free: 274.1 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007128/1.887, allocations: 54.44 kB / 1.189 GB, free: 274.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002488/1.89, allocations: 207.7 kB / 1.189 GB, free: 274.1 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001421/1.891, allocations: 244.8 kB / 1.189 GB, free: 274 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002603/1.891, allocations: 65.22 kB / 1.19 GB, free: 274 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001825/1.893, allocations: 1.124 MB / 1.191 GB, free: 273.6 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/1.893, allocations: 0.5625 kB / 1.191 GB, free: 273.6 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00631/1.9, allocations: 1.616 MB / 1.192 GB, free: 273.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.000561/1.9, allocations: 160.5 kB / 1.192 GB, free: 273.3 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02253/1.923, allocations: 11.33 MB / 1.203 GB, free: 269.6 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/1.923, allocations: 4.75 kB / 1.203 GB, free: 269.6 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.01679/1.939, allocations: 7.309 MB / 1.211 GB, free: 265.8 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003548/1.943, allocations: 0.5607 MB / 1.211 GB, free: 265.3 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/1.958, allocations: 9.414 MB / 1.22 GB, free: 255.9 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003515/1.961, allocations: 3.29 MB / 1.224 GB, free: 252.6 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004125/1.962, allocations: 121.4 kB / 1.224 GB, free: 252.5 MB / 0.92 GB Notification: Performance of SimCode: time 1.443e-06/1.962, allocations: 0 / 1.224 GB, free: 252.5 MB / 0.92 GB Notification: Performance of Templates: time 0.1519/2.114, allocations: 187.6 MB / 1.407 GB, free: 64.9 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)