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_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 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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.00859/0.00859, allocations: 99.84 kB / 15.73 MB, free: 6.043 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.001235/0.001235, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.673/1.673, 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.674/1.674, allocations: 251.7 MB / 0.5094 GB, free: 3.059 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.00145/0.00145, allocations: 71.89 kB / 0.7258 GB, free: 9.148 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2626, allocations: 104.7 MB / 0.8281 GB, free: 348 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02709/0.2898, allocations: 23.4 MB / 0.8509 GB, free: 8.863 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01407/0.3039, allocations: 6.535 MB / 0.8573 GB, free: 2.305 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003389/0.3073, allocations: 95.56 kB / 0.8574 GB, free: 2.211 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004957/0.3123, allocations: 1.494 MB / 0.8588 GB, free: 0.7109 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00608/0.3184, allocations: 1.933 MB / 0.8607 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005137/0.3235, allocations: 1.455 MB / 0.8621 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.009767/0.3333, allocations: 6.865 MB / 0.8688 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01085/0.3442, allocations: 6.933 MB / 0.8756 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005298/0.3495, allocations: 2.851 MB / 0.8784 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006122/0.3557, allocations: 3.474 MB / 0.8818 GB, free: 9.062 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002191/0.3579, allocations: 0.5273 MB / 0.8823 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00452/0.3624, allocations: 1.178 MB / 0.8835 GB, free: 7.355 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.005017/0.3675, allocations: 2.448 MB / 0.8858 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.007381/0.3749, allocations: 2.528 MB / 0.8883 GB, free: 2.367 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01521/0.3901, allocations: 8.511 MB / 0.8966 GB, free: 9.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.3902, allocations: 0 / 0.8966 GB, free: 9.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.905e-06/0.3902, allocations: 3.938 kB / 0.8966 GB, free: 9.828 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0003819/0.3906, allocations: 4 kB / 0.8966 GB, free: 9.824 MB / 0.7169 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.01726/0.4079, allocations: 4.426 MB / 0.901 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.4079, allocations: 8.031 kB / 0.901 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/0.4184, allocations: 1.677 MB / 0.9026 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007965/0.4264, allocations: 2.703 MB / 0.9052 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005394/0.427, allocations: 271.7 kB / 0.9055 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003284/0.4303, allocations: 364.3 kB / 0.9059 GB, free: 268 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8179/1.248, allocations: 7.478 MB / 0.9132 GB, free: 66.82 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000269/1.249, allocations: 16.78 kB / 0.9132 GB, free: 66.82 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00143/1.25, allocations: 162.5 kB / 0.9133 GB, free: 66.71 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001463/1.251, allocations: 485.4 kB / 0.9138 GB, free: 66.65 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01778/1.269, allocations: 5.702 MB / 0.9194 GB, free: 64.74 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05836/1.328, allocations: 31.48 MB / 0.9501 GB, free: 39.72 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004609/1.332, allocations: 2.081 MB / 0.9521 GB, free: 38.62 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004594/1.337, allocations: 2.183 MB / 0.9543 GB, free: 37.48 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004076/1.337, allocations: 15.56 kB / 0.9543 GB, free: 37.48 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.11e-05/1.338, allocations: 49.41 kB / 0.9543 GB, free: 37.43 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=146): time 7.975e-06/1.338, allocations: 0 / 0.9543 GB, free: 37.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=251): time 0.3166/1.654, allocations: 77.03 MB / 1.03 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/1.654, allocations: 77.41 kB / 1.03 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004555/1.659, allocations: 1.67 MB / 1.031 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0006547/1.66, allocations: 65.7 kB / 1.031 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.00142/1.661, allocations: 1.743 MB / 1.033 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001408/1.663, allocations: 0.85 MB / 1.034 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001674/1.664, allocations: 481.2 kB / 1.034 GB, free: 9.633 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002527/1.664, allocations: 309 kB / 1.035 GB, free: 9.328 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004552/1.669, allocations: 2.734 MB / 1.037 GB, free: 6.59 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005062/1.674, allocations: 3.328 MB / 1.041 GB, free: 3.012 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009965/1.684, allocations: 6.393 MB / 1.047 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.717e-05/1.684, allocations: 4 kB / 1.047 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03579/1.72, allocations: 14.68 MB / 1.061 GB, free: 13.64 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.13e-05/1.72, allocations: 15.94 kB / 1.061 GB, free: 13.62 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.774e-05/1.72, allocations: 24 kB / 1.061 GB, free: 13.6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03162/1.752, allocations: 9.243 MB / 1.07 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/1.753, allocations: 303.4 kB / 1.07 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09483/1.848, allocations: 52.34 MB / 1.122 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003821/1.852, allocations: 219.7 kB / 1.122 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000718/1.853, allocations: 96 kB / 1.122 GB, free: 14.56 MB / 0.8575 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.004144/1.857, allocations: 1.594 MB / 1.123 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001071/1.858, allocations: 245.1 kB / 1.124 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03664/1.895, allocations: 14.76 MB / 1.138 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.124e-05/1.895, allocations: 24 kB / 1.138 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002306/1.895, allocations: 44 kB / 1.138 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.31e-05/1.895, allocations: 11.95 kB / 1.138 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04839/1.943, allocations: 20.52 MB / 1.158 GB, free: 9.129 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.692e-05/1.944, allocations: 8 kB / 1.158 GB, free: 9.121 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000881/1.944, allocations: 163.7 kB / 1.158 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03111/1.976, allocations: 9.002 MB / 1.167 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006245/1.976, allocations: 51.94 kB / 1.167 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09204/2.068, allocations: 51.9 MB / 1.218 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.48e-05/2.068, allocations: 11.94 kB / 1.218 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03596/2.104, allocations: 14.37 MB / 1.232 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002437/2.107, allocations: 0.8493 MB / 1.233 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001086/2.108, allocations: 48 kB / 1.233 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00299/2.111, allocations: 206.7 kB / 1.233 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001747/2.113, allocations: 249.4 kB / 1.233 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003657/2.113, allocations: 64 kB / 1.233 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00268/2.116, allocations: 1.125 MB / 1.234 GB, free: 10 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/2.116, allocations: 4 kB / 1.234 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.007066/2.123, allocations: 1.598 MB / 1.236 GB, free: 8.398 MB / 0.9669 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.0007747/2.124, allocations: 159.5 kB / 1.236 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.02601/2.15, allocations: 10.56 MB / 1.246 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-05/2.15, allocations: 0 / 1.246 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.02048/2.17, allocations: 7.311 MB / 1.254 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00546/2.176, allocations: 0.558 MB / 1.254 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0218/2.198, allocations: 8.675 MB / 1.263 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006404/2.204, allocations: 3.228 MB / 1.266 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001495/2.206, allocations: 391.3 kB / 1.266 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004085/2.206, allocations: 95.44 kB / 1.266 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of SimCode: time 1.673e-06/2.206, allocations: 4 kB / 1.266 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of Templates: time 0.7908/2.997, allocations: 92.57 MB / 1.357 GB, free: 317.3 MB / 1.014 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)