Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.0009451/0.0009447, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008041/0.008041, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.531/1.531, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.942/2.942, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003834, allocations: 12.47 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3697, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01129/0.3811, allocations: 9.606 MB / 1.084 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00652/0.3876, allocations: 3.143 MB / 1.087 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008831/0.3886, allocations: 27.88 kB / 1.087 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005476/0.3891, allocations: 178.6 kB / 1.087 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.3909, allocations: 0.7081 MB / 1.087 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.3925, allocations: 0.6396 MB / 1.088 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005082/0.3976, allocations: 4.478 MB / 1.092 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005136/0.4028, allocations: 3.158 MB / 1.096 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002078/0.4049, allocations: 0.9339 MB / 1.096 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002731/0.4077, allocations: 1.464 MB / 1.098 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003068/0.408, allocations: 112 kB / 1.098 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001279/0.4093, allocations: 459.2 kB / 1.098 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.4104, allocations: 0.9276 MB / 1.099 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.4115, allocations: 0.9696 MB / 1.1 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003937/0.4155, allocations: 3.524 MB / 1.104 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4155, allocations: 0 / 1.104 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.494e-06/0.4155, allocations: 7.938 kB / 1.104 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.931e-05/0.4156, allocations: 4 kB / 1.104 GB, free: 9.059 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.004/0.4196, allocations: 1.76 MB / 1.105 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.4197, allocations: 8.031 kB / 1.105 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009056/0.4288, allocations: 1.321 MB / 1.107 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002989/0.4318, allocations: 1.251 MB / 1.108 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.4319, allocations: 119.3 kB / 1.108 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004938/0.4324, allocations: 144.3 kB / 1.108 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006035/0.4385, allocations: 3.437 MB / 1.112 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.384e-05/0.4385, allocations: 11.92 kB / 1.112 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002184/0.4388, allocations: 63.97 kB / 1.112 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002745/0.439, allocations: 203.1 kB / 1.112 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005393/0.4444, allocations: 3.124 MB / 1.115 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01981/0.4643, allocations: 13.59 MB / 1.128 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/0.4669, allocations: 1.728 MB / 1.13 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002007/0.4689, allocations: 1.444 MB / 1.131 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.39e-05/0.469, allocations: 9 kB / 1.131 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.4691, allocations: 39.56 kB / 1.131 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=104): time 3.056e-06/0.4691, allocations: 0 / 1.131 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of matching and sorting (n=183): time 0.1533/0.6224, allocations: 35.96 MB / 1.166 GB, free: 7.621 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.6225, allocations: 69.41 kB / 1.167 GB, free: 7.539 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/0.6242, allocations: 1.054 MB / 1.168 GB, free: 6.461 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003246/0.6246, allocations: 53.7 kB / 1.168 GB, free: 6.402 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006/0.6252, allocations: 0.7872 MB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008197/0.626, allocations: 0.6238 MB / 1.169 GB, free: 4.973 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004014/0.6264, allocations: 161.6 kB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.358e-05/0.6265, allocations: 301.1 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003041/0.6296, allocations: 1.932 MB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003266/0.6329, allocations: 2.281 MB / 1.174 GB, free: 180 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006337/0.6392, allocations: 4.399 MB / 1.178 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.6392, allocations: 3.938 kB / 1.178 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02162/0.6609, allocations: 9.017 MB / 1.187 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.989e-05/0.6609, allocations: 14 kB / 1.187 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.459e-05/0.661, allocations: 11.98 kB / 1.187 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01811/0.6791, allocations: 4.976 MB / 1.192 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009767/0.6801, allocations: 195.6 kB / 1.192 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05623/0.7364, allocations: 35.15 MB / 1.226 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/0.7386, allocations: 107.9 kB / 1.226 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000409/0.739, allocations: 75.92 kB / 1.226 GB, free: 9.5 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.001774/0.7408, allocations: 0.7979 MB / 1.227 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004381/0.7412, allocations: 142.2 kB / 1.227 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02121/0.7625, allocations: 8.89 MB / 1.236 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.319e-05/0.7625, allocations: 20 kB / 1.236 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000105/0.7626, allocations: 28 kB / 1.236 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.369e-05/0.7627, allocations: 11.97 kB / 1.236 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02924/0.7919, allocations: 13.27 MB / 1.249 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.235e-05/0.792, allocations: 4 kB / 1.249 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005683/0.7926, allocations: 123.8 kB / 1.249 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6138/1.406, allocations: 4.756 MB / 1.254 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003391/1.407, allocations: 33.62 kB / 1.254 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05361/1.46, allocations: 31.44 MB / 1.284 GB, free: 154 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/1.461, allocations: 7.688 kB / 1.284 GB, free: 154 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02005/1.481, allocations: 8.4 MB / 1.293 GB, free: 151.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00172/1.482, allocations: 0.6175 MB / 1.293 GB, free: 151.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003336/1.483, allocations: 33.09 kB / 1.293 GB, free: 151.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/1.484, allocations: 94.25 kB / 1.293 GB, free: 151.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009372/1.485, allocations: 160.8 kB / 1.293 GB, free: 151 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/1.485, allocations: 48.06 kB / 1.293 GB, free: 151 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009594/1.486, allocations: 0.7402 MB / 1.294 GB, free: 150.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.486, allocations: 0 / 1.294 GB, free: 150.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0035/1.49, allocations: 1.007 MB / 1.295 GB, free: 150.6 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.0003614/1.49, allocations: 144 kB / 1.295 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009007/1.499, allocations: 5.834 MB / 1.301 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/1.499, allocations: 0 / 1.301 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00723/1.506, allocations: 3.806 MB / 1.305 GB, free: 146.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/1.508, allocations: 228.4 kB / 1.305 GB, free: 146.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007107/1.515, allocations: 5.81 MB / 1.311 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/1.517, allocations: 1.855 MB / 1.312 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008544/1.518, allocations: 352.9 kB / 1.313 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/1.518, allocations: 60.81 kB / 1.313 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/1.518, allocations: 0 / 1.313 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.07276/1.591, allocations: 55.48 MB / 1.367 GB, free: 87.66 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)