Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.008551/0.008551, allocations: 103.5 kB / 15.73 MB, free: 6.051 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.001524/0.001524, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.743/1.743, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.875/1.875, allocations: 251.7 MB / 0.5094 GB, free: 2.953 MB / 414.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.001615/0.001615, allocations: 67.89 kB / 0.7258 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3365, allocations: 104.7 MB / 0.8281 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01291/0.3495, allocations: 10.09 MB / 0.8379 GB, free: 6.047 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007566/0.3571, allocations: 3.217 MB / 0.8411 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/0.3585, allocations: 35.81 kB / 0.8411 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002222/0.3607, allocations: 0.5908 MB / 0.8417 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0028/0.3635, allocations: 0.774 MB / 0.8424 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002131/0.3657, allocations: 0.7408 MB / 0.8431 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004165/0.3699, allocations: 2.984 MB / 0.8461 GB, free: 13.68 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004182/0.3741, allocations: 2.579 MB / 0.8486 GB, free: 11.05 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002627/0.3768, allocations: 1.266 MB / 0.8498 GB, free: 9.785 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003238/0.38, allocations: 1.55 MB / 0.8513 GB, free: 8.23 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001104/0.3811, allocations: 236 kB / 0.8516 GB, free: 8 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002158/0.3833, allocations: 0.4994 MB / 0.852 GB, free: 7.5 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002152/0.3855, allocations: 1.068 MB / 0.8531 GB, free: 6.43 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002745/0.3882, allocations: 1.101 MB / 0.8542 GB, free: 5.324 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005412/0.3937, allocations: 3.693 MB / 0.8578 GB, free: 1.621 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3937, allocations: 0 / 0.8578 GB, free: 1.621 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3937, allocations: 0 / 0.8578 GB, free: 1.621 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001303/0.3938, allocations: 0 / 0.8578 GB, free: 1.621 MB / 0.67 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.006379/0.4002, allocations: 2.142 MB / 0.8599 GB, free: 15.42 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.4003, allocations: 8.031 kB / 0.8599 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009061/0.4094, allocations: 1.313 MB / 0.8611 GB, free: 14.1 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00329/0.4127, allocations: 1.302 MB / 0.8624 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/0.4128, allocations: 119.4 kB / 0.8625 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008061/0.4136, allocations: 144.3 kB / 0.8627 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008083/0.4217, allocations: 3.441 MB / 0.866 GB, free: 8.953 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.521e-05/0.4218, allocations: 4 kB / 0.866 GB, free: 8.949 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004811/0.4223, allocations: 63.97 kB / 0.8661 GB, free: 8.887 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003023/0.4226, allocations: 203.1 kB / 0.8663 GB, free: 8.688 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006044/0.4287, allocations: 3.131 MB / 0.8693 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0198/0.4485, allocations: 13.54 MB / 0.8826 GB, free: 7.137 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002641/0.4512, allocations: 1.724 MB / 0.8842 GB, free: 5.406 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002004/0.4532, allocations: 1.44 MB / 0.8857 GB, free: 3.965 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.4534, allocations: 16.98 kB / 0.8857 GB, free: 3.945 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.4534, allocations: 43.56 kB / 0.8857 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=104): time 3.547e-06/0.4534, allocations: 4 kB / 0.8857 GB, free: 3.891 MB / 0.7012 GB Notification: Performance of matching and sorting (n=183): time 0.8166/1.27, allocations: 36.67 MB / 0.9215 GB, free: 85.35 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/1.27, allocations: 71.81 kB / 0.9216 GB, free: 85.29 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/1.272, allocations: 1.051 MB / 0.9226 GB, free: 85.14 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0007165/1.273, allocations: 55.42 kB / 0.9227 GB, free: 85.11 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008778/1.274, allocations: 0.7888 MB / 0.9234 GB, free: 84.96 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/1.275, allocations: 0.6207 MB / 0.9241 GB, free: 84.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00126/1.276, allocations: 369.9 kB / 0.9244 GB, free: 84.54 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001633/1.276, allocations: 306.3 kB / 0.9247 GB, free: 84.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005069/1.281, allocations: 1.929 MB / 0.9266 GB, free: 83.64 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004607/1.286, allocations: 2.287 MB / 0.9288 GB, free: 82.61 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009605/1.296, allocations: 4.397 MB / 0.9331 GB, free: 80.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.274e-05/1.296, allocations: 2.719 kB / 0.9331 GB, free: 80.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02548/1.321, allocations: 9.022 MB / 0.9419 GB, free: 78.05 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.319e-05/1.321, allocations: 9.656 kB / 0.9419 GB, free: 78.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-05/1.321, allocations: 9.781 kB / 0.9419 GB, free: 78.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01768/1.339, allocations: 4.975 MB / 0.9468 GB, free: 77.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/1.34, allocations: 194.7 kB / 0.947 GB, free: 77.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05461/1.395, allocations: 38.89 MB / 0.985 GB, free: 49.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002698/1.398, allocations: 110.6 kB / 0.9851 GB, free: 49.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002442/1.398, allocations: 68 kB / 0.9851 GB, free: 49.24 MB / 0.7325 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.00132/1.399, allocations: 0.7979 MB / 0.9859 GB, free: 48.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003007/1.4, allocations: 138.3 kB / 0.986 GB, free: 48.29 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01683/1.416, allocations: 8.886 MB / 0.9947 GB, free: 39.37 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.363e-05/1.417, allocations: 20 kB / 0.9947 GB, free: 39.35 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001135/1.417, allocations: 31.66 kB / 0.9948 GB, free: 39.32 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.822e-05/1.417, allocations: 11.95 kB / 0.9948 GB, free: 39.31 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02502/1.442, allocations: 13.41 MB / 1.008 GB, free: 25.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.619e-05/1.442, allocations: 4 kB / 1.008 GB, free: 25.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005985/1.442, allocations: 119.8 kB / 1.008 GB, free: 25.67 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01509/1.458, allocations: 4.84 MB / 1.013 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000505/1.458, allocations: 36 kB / 1.013 GB, free: 20.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05334/1.511, allocations: 36.83 MB / 1.049 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/1.512, allocations: 4 kB / 1.049 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02165/1.533, allocations: 8.59 MB / 1.057 GB, free: 6.734 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002126/1.535, allocations: 0.6398 MB / 1.058 GB, free: 6.074 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/1.537, allocations: 28 kB / 1.058 GB, free: 6.047 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002457/1.539, allocations: 95.88 kB / 1.058 GB, free: 5.953 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001779/1.541, allocations: 169.6 kB / 1.058 GB, free: 5.785 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000451/1.541, allocations: 44 kB / 1.058 GB, free: 5.742 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00206/1.543, allocations: 0.7343 MB / 1.059 GB, free: 4.996 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/1.543, allocations: 0 / 1.059 GB, free: 4.996 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.007327/1.551, allocations: 0.9961 MB / 1.06 GB, free: 4 MB / 0.7637 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%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008743/1.552, allocations: 155 kB / 1.06 GB, free: 3.84 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01308/1.565, allocations: 5.933 MB / 1.066 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.099e-05/1.565, allocations: 4.188 kB / 1.066 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.009685/1.575, allocations: 3.931 MB / 1.07 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003713/1.578, allocations: 246 kB / 1.07 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/1.592, allocations: 5.082 MB / 1.075 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003078/1.595, allocations: 1.855 MB / 1.077 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001232/1.596, allocations: 351.3 kB / 1.077 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/1.597, allocations: 67.42 kB / 1.077 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of SimCode: time 8.71e-07/1.597, allocations: 0 / 1.077 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of Templates: time 0.1158/1.712, allocations: 61.16 MB / 1.137 GB, free: 5.258 MB / 0.8419 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)