Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, 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.001226/0.001226, allocations: 190.6 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.773/2.773, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 66.89 kB / 0.9115 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3447, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01227/0.357, allocations: 10.07 MB / 1.078 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00565/0.3627, allocations: 3.151 MB / 1.081 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008773/0.3636, allocations: 31.88 kB / 1.081 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.3652, allocations: 0.5407 MB / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.3669, allocations: 0.6964 MB / 1.082 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.3686, allocations: 0.6786 MB / 1.083 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003189/0.3718, allocations: 3.004 MB / 1.085 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003802/0.3756, allocations: 3.078 MB / 1.088 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.3772, allocations: 1.266 MB / 1.09 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.3791, allocations: 1.644 MB / 1.091 GB, free: 2.492 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.00031/0.3795, allocations: 243.9 kB / 1.092 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009135/0.3804, allocations: 0.4955 MB / 1.092 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0009565/0.3813, allocations: 1.08 MB / 1.093 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.3825, allocations: 1.109 MB / 1.094 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003181/0.3857, allocations: 3.685 MB / 1.098 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3857, allocations: 0 / 1.098 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3857, allocations: 0 / 1.098 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.572e-05/0.3857, allocations: 4 kB / 1.098 GB, free: 11.86 MB / 0.8575 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.003749/0.3895, allocations: 2.15 MB / 1.1 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.3896, allocations: 8.031 kB / 1.1 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008356/0.3979, allocations: 1.313 MB / 1.101 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/0.4002, allocations: 1.255 MB / 1.102 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-05/0.4003, allocations: 115.4 kB / 1.102 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003025/0.4006, allocations: 148.3 kB / 1.103 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005052/0.4057, allocations: 3.437 MB / 1.106 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.665e-05/0.4057, allocations: 7.938 kB / 1.106 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002007/0.4059, allocations: 63.97 kB / 1.106 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002344/0.4062, allocations: 207.1 kB / 1.106 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004509/0.4107, allocations: 3.116 MB / 1.109 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0169/0.4276, allocations: 13.63 MB / 1.123 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002499/0.4301, allocations: 1.724 MB / 1.124 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/0.432, allocations: 1.44 MB / 1.126 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.28e-05/0.4321, allocations: 12.94 kB / 1.126 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.4322, allocations: 47.56 kB / 1.126 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=104): time 2.705e-06/0.4322, allocations: 0 / 1.126 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of matching and sorting (n=183): time 0.1362/0.5684, allocations: 36.67 MB / 1.162 GB, free: 9.281 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.5685, allocations: 69.41 kB / 1.162 GB, free: 9.203 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.5701, allocations: 1.057 MB / 1.163 GB, free: 8.121 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003645/0.5705, allocations: 53.7 kB / 1.163 GB, free: 8.062 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005755/0.5711, allocations: 0.7873 MB / 1.163 GB, free: 7.266 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007874/0.5719, allocations: 0.6199 MB / 1.164 GB, free: 6.637 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009854/0.5729, allocations: 371.4 kB / 1.164 GB, free: 6.266 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.573, allocations: 301.1 kB / 1.165 GB, free: 5.969 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002868/0.5759, allocations: 1.928 MB / 1.167 GB, free: 4.039 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002978/0.5789, allocations: 2.285 MB / 1.169 GB, free: 1.633 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005912/0.5848, allocations: 4.395 MB / 1.173 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.5848, allocations: 4 kB / 1.173 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02074/0.6056, allocations: 9.017 MB / 1.182 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.181e-05/0.6057, allocations: 12 kB / 1.182 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/0.6057, allocations: 12 kB / 1.182 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01769/0.6234, allocations: 5.009 MB / 1.187 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009307/0.6244, allocations: 183.7 kB / 1.187 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06104/0.6854, allocations: 38.94 MB / 1.225 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/0.6877, allocations: 107.9 kB / 1.225 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005855/0.6883, allocations: 67.98 kB / 1.225 GB, free: 7.145 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001893/0.6902, allocations: 0.8024 MB / 1.226 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004874/0.6907, allocations: 142.3 kB / 1.226 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02095/0.7117, allocations: 8.886 MB / 1.235 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.451e-05/0.7118, allocations: 19.94 kB / 1.235 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001266/0.7119, allocations: 36 kB / 1.235 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.946e-05/0.712, allocations: 15.95 kB / 1.235 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6127/1.325, allocations: 13.29 MB / 1.248 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.829e-05/1.325, allocations: 3.75 kB / 1.248 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000574/1.325, allocations: 120.6 kB / 1.248 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0172/1.343, allocations: 4.791 MB / 1.253 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004142/1.343, allocations: 36.22 kB / 1.253 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06989/1.413, allocations: 34.86 MB / 1.287 GB, free: 151.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-05/1.413, allocations: 7.312 kB / 1.287 GB, free: 151.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03453/1.447, allocations: 8.402 MB / 1.295 GB, free: 149 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002199/1.45, allocations: 0.6162 MB / 1.296 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000562/1.45, allocations: 38.94 kB / 1.296 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/1.452, allocations: 94.53 kB / 1.296 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001047/1.453, allocations: 160.1 kB / 1.296 GB, free: 148.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002139/1.453, allocations: 46.78 kB / 1.296 GB, free: 148.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001028/1.454, allocations: 0.742 MB / 1.297 GB, free: 148.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/1.454, allocations: 0 / 1.297 GB, free: 148.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004246/1.458, allocations: 1.001 MB / 1.298 GB, free: 148.3 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004462/1.459, allocations: 151.2 kB / 1.298 GB, free: 148.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01012/1.469, allocations: 6.685 MB / 1.304 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.469, allocations: 192 / 1.304 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00742/1.477, allocations: 3.841 MB / 1.308 GB, free: 144.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/1.478, allocations: 244.1 kB / 1.308 GB, free: 144 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008266/1.487, allocations: 5.788 MB / 1.314 GB, free: 140.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001627/1.488, allocations: 1.861 MB / 1.316 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008254/1.489, allocations: 357.8 kB / 1.316 GB, free: 138.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/1.49, allocations: 59.44 kB / 1.316 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.473e-06/1.49, allocations: 0 / 1.316 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.06902/1.559, allocations: 59.86 MB / 1.375 GB, free: 78.82 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)