Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.8/2.8, allocations: 287.3 MB / 302.3 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00397/0.00397, allocations: 193.4 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.2/2.2, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 96.08 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004678/0.0004679, allocations: 16.36 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2302, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01202/0.2423, allocations: 8.767 MB / 0.9868 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006468/0.2488, allocations: 3.059 MB / 0.9897 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000909/0.2498, allocations: 27.81 kB / 0.9898 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000615/0.2504, allocations: 178.9 kB / 0.9899 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001931/0.2524, allocations: 0.4908 MB / 0.9904 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001948/0.2544, allocations: 0.5253 MB / 0.9909 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002645/0.257, allocations: 1.434 MB / 0.9923 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005172/0.2623, allocations: 2.712 MB / 0.995 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.2639, allocations: 0.806 MB / 0.9958 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00201/0.266, allocations: 0.9972 MB / 0.9967 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004908/0.2665, allocations: 116 kB / 0.9969 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009634/0.2675, allocations: 223.8 kB / 0.9971 GB, free: 8.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0009872/0.2685, allocations: 0.8381 MB / 0.9979 GB, free: 8.141 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005759/0.2691, allocations: 380.8 kB / 0.9983 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003629/0.2727, allocations: 2.961 MB / 1.001 GB, free: 4.793 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2728, allocations: 0 / 1.001 GB, free: 4.793 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2728, allocations: 0 / 1.001 GB, free: 4.793 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.016e-05/0.2729, allocations: 0 / 1.001 GB, free: 4.793 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005343/0.2782, allocations: 1.774 MB / 1.003 GB, free: 2.965 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.2783, allocations: 16.02 kB / 1.003 GB, free: 2.949 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01564/0.294, allocations: 1.441 MB / 1.004 GB, free: 1.504 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003483/0.2975, allocations: 1.219 MB / 1.005 GB, free: 248 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.2977, allocations: 115 kB / 1.006 GB, free: 132 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007709/0.2984, allocations: 148 kB / 1.006 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01041/0.3089, allocations: 3.413 MB / 1.009 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.505e-05/0.309, allocations: 3.938 kB / 1.009 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003808/0.3094, allocations: 63.97 kB / 1.009 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004546/0.3098, allocations: 211 kB / 1.009 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00996/0.3198, allocations: 3.124 MB / 1.012 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03661/0.3565, allocations: 13.58 MB / 1.026 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007542/0.3641, allocations: 1.717 MB / 1.027 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003002/0.3644, allocations: 20.92 kB / 1.027 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.151e-05/0.3645, allocations: 43.56 kB / 1.027 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=104): time 6.372e-06/0.3646, allocations: 0 / 1.027 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of matching and sorting (n=183): time 0.308/0.6726, allocations: 35.94 MB / 1.062 GB, free: 4.746 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.681e-05/0.6728, allocations: 73.41 kB / 1.063 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002484/0.6753, allocations: 1.046 MB / 1.064 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005445/0.6758, allocations: 57.7 kB / 1.064 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000932/0.6768, allocations: 0.7796 MB / 1.064 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00124/0.6781, allocations: 0.6316 MB / 1.065 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003743/0.6785, allocations: 40 kB / 1.065 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002755/0.6788, allocations: 381.9 kB / 1.065 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.6762/1.355, allocations: 1.925 MB / 1.067 GB, free: 84.43 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006865/1.362, allocations: 2.275 MB / 1.07 GB, free: 83.75 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006161/1.368, allocations: 2.216 MB / 1.072 GB, free: 82.92 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.135e-05/1.368, allocations: 2.094 kB / 1.072 GB, free: 82.92 MB / 0.6823 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.04036/1.409, allocations: 9.004 MB / 1.08 GB, free: 80.35 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/1.409, allocations: 8.094 kB / 1.08 GB, free: 80.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.994e-05/1.409, allocations: 9.938 kB / 1.08 GB, free: 80.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03485/1.444, allocations: 4.967 MB / 1.085 GB, free: 79.57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002671/1.446, allocations: 197 kB / 1.086 GB, free: 79.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1132/1.56, allocations: 36.83 MB / 1.121 GB, free: 59.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003224/1.563, allocations: 103.7 kB / 1.122 GB, free: 59.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004995/1.563, allocations: 68.03 kB / 1.122 GB, free: 59.21 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002014/1.565, allocations: 0.8088 MB / 1.122 GB, free: 58.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005149/1.566, allocations: 140.1 kB / 1.123 GB, free: 58.63 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03431/1.6, allocations: 8.874 MB / 1.131 GB, free: 51.04 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/1.6, allocations: 19.72 kB / 1.131 GB, free: 51.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.163e-05/1.6, allocations: 35.95 kB / 1.131 GB, free: 50.98 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.005e-05/1.6, allocations: 7.969 kB / 1.131 GB, free: 50.98 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04472/1.645, allocations: 13.13 MB / 1.144 GB, free: 37.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.963e-05/1.645, allocations: 11.33 kB / 1.144 GB, free: 37.76 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009415/1.646, allocations: 119.8 kB / 1.144 GB, free: 37.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0304/1.677, allocations: 4.753 MB / 1.149 GB, free: 32.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005279/1.677, allocations: 32 kB / 1.149 GB, free: 32.84 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1023/1.78, allocations: 32.99 MB / 1.181 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.649e-05/1.78, allocations: 11.88 kB / 1.181 GB, free: 15.31 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05309/1.833, allocations: 8.554 MB / 1.19 GB, free: 6.586 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003567/1.836, allocations: 0.614 MB / 1.19 GB, free: 5.953 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000895/1.837, allocations: 39.98 kB / 1.19 GB, free: 5.914 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002763/1.84, allocations: 91.59 kB / 1.19 GB, free: 5.828 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001544/1.842, allocations: 169.4 kB / 1.19 GB, free: 5.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003699/1.842, allocations: 48 kB / 1.19 GB, free: 5.613 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00179/1.844, allocations: 0.7343 MB / 1.191 GB, free: 4.867 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.844, allocations: 0 / 1.191 GB, free: 4.867 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005338/1.849, allocations: 0.9922 MB / 1.192 GB, free: 3.875 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,100.0%) 16,(8,100.0%) 38,(8,100.0%) 8,(14,77.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007096/1.85, allocations: 148.5 kB / 1.192 GB, free: 3.723 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01879/1.869, allocations: 5.824 MB / 1.198 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/1.869, allocations: 0 / 1.198 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01471/1.884, allocations: 3.777 MB / 1.202 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/1.886, allocations: 192.2 kB / 1.202 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/1.9, allocations: 5.637 MB / 1.207 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003009/1.903, allocations: 1.895 MB / 1.209 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001641/1.905, allocations: 351.4 kB / 1.21 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/1.905, allocations: 59.44 kB / 1.21 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of SimCode: time 1.272e-06/1.905, allocations: 0 / 1.21 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of Templates: time 0.1379/2.043, allocations: 54.4 MB / 1.263 GB, free: 11.54 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)