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.ACLine_RL.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.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006295/0.006295, allocations: 101.3 kB / 15.73 MB, free: 5.547 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.001179/0.00118, allocations: 191.6 kB / 16.67 MB, free: 5.477 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.643/1.643, allocations: 205.1 MB / 222.5 MB, free: 12.2 MB / 190.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.531/1.531, allocations: 251.7 MB / 0.5094 GB, free: 400 kB / 430.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.001846/0.001846, allocations: 68.38 kB / 0.7258 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8542/0.856, allocations: 104.7 MB / 0.8281 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03185/0.8879, allocations: 26.59 MB / 0.854 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01749/0.9055, allocations: 8.107 MB / 0.8619 GB, free: 15.72 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004065/0.9096, allocations: 119.4 kB / 0.8621 GB, free: 15.61 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.008574/0.9183, allocations: 2.759 MB / 0.8647 GB, free: 12.84 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006861/0.9251, allocations: 1.586 MB / 0.8663 GB, free: 11.25 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006156/0.9314, allocations: 1.678 MB / 0.8679 GB, free: 9.57 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009675/0.9411, allocations: 6.146 MB / 0.8739 GB, free: 3.402 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01233/0.9534, allocations: 7.311 MB / 0.8811 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007062/0.9605, allocations: 2.574 MB / 0.8836 GB, free: 9.406 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00639/0.967, allocations: 2.831 MB / 0.8864 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002343/0.9694, allocations: 0.5117 MB / 0.8869 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004487/0.9739, allocations: 1.279 MB / 0.8881 GB, free: 4.773 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00441/0.9784, allocations: 2.051 MB / 0.8901 GB, free: 2.719 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.007797/0.9862, allocations: 2.385 MB / 0.8924 GB, free: 332 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01519/1.001, allocations: 8.061 MB / 0.9003 GB, free: 8.242 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/1.001, allocations: 0 / 0.9003 GB, free: 8.242 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.473e-06/1.002, allocations: 0 / 0.9003 GB, free: 8.242 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000359/1.002, allocations: 0 / 0.9003 GB, free: 8.242 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01578/1.018, allocations: 4.232 MB / 0.9044 GB, free: 3.945 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/1.018, allocations: 8.031 kB / 0.9044 GB, free: 3.938 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006488/1.024, allocations: 0.8 MB / 0.9052 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007087/1.031, allocations: 2.573 MB / 0.9077 GB, free: 0.5039 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002526/1.032, allocations: 267.6 kB / 0.908 GB, free: 248 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001923/1.034, allocations: 380.5 kB / 0.9084 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/1.049, allocations: 5.992 MB / 0.9142 GB, free: 9.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002521/1.049, allocations: 19.88 kB / 0.9142 GB, free: 9.605 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001581/1.051, allocations: 160 kB / 0.9144 GB, free: 9.449 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000782/1.052, allocations: 278.9 kB / 0.9146 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01173/1.063, allocations: 4.524 MB / 0.9191 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03927/1.103, allocations: 27.47 MB / 0.9459 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002278/1.105, allocations: 1.123 MB / 0.947 GB, free: 5.539 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/1.107, allocations: 1.007 MB / 0.948 GB, free: 4.531 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/1.107, allocations: 17 kB / 0.948 GB, free: 4.516 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/1.107, allocations: 47.56 kB / 0.948 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=110): time 7.193e-06/1.107, allocations: 0 / 0.948 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of matching and sorting (n=131): time 0.0265/1.134, allocations: 9.673 MB / 0.9575 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/1.134, allocations: 64.72 kB / 0.9575 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002851/1.137, allocations: 1.494 MB / 0.959 GB, free: 9.004 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0002633/1.137, allocations: 53.7 kB / 0.959 GB, free: 8.945 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001371/1.138, allocations: 1.659 MB / 0.9607 GB, free: 7.262 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006539/1.139, allocations: 473.3 kB / 0.9611 GB, free: 6.793 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006878/1.14, allocations: 323.2 kB / 0.9614 GB, free: 6.473 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.14, allocations: 305.1 kB / 0.9617 GB, free: 6.172 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/1.141, allocations: 0.9174 MB / 0.9626 GB, free: 5.254 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001936/1.143, allocations: 1.475 MB / 0.9641 GB, free: 3.539 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003463/1.147, allocations: 2.546 MB / 0.9665 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-05/1.147, allocations: 4 kB / 0.9665 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006544/1.153, allocations: 3.285 MB / 0.9698 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.049e-05/1.153, allocations: 16 kB / 0.9698 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.412e-05/1.154, allocations: 16 kB / 0.9698 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002422/1.156, allocations: 0.7341 MB / 0.9705 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/1.158, allocations: 387.4 kB / 0.9709 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0174/1.175, allocations: 17.04 MB / 0.9875 GB, free: 9.938 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/1.177, allocations: 99.91 kB / 0.9876 GB, free: 9.84 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/1.177, allocations: 79.98 kB / 0.9877 GB, free: 9.762 MB / 0.795 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002554/1.18, allocations: 1.309 MB / 0.989 GB, free: 8.441 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005794/1.181, allocations: 197.8 kB / 0.9892 GB, free: 8.246 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005172/1.186, allocations: 2.796 MB / 0.9919 GB, free: 5.414 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/1.186, allocations: 12 kB / 0.9919 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-05/1.186, allocations: 8 kB / 0.9919 GB, free: 5.395 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/1.186, allocations: 3.984 kB / 0.9919 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/1.197, allocations: 6.229 MB / 0.998 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/1.197, allocations: 4 kB / 0.998 GB, free: 15 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/1.198, allocations: 227.6 kB / 0.9982 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001997/1.2, allocations: 0.6673 MB / 0.9989 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/1.201, allocations: 32 kB / 0.9989 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.016/1.217, allocations: 16.79 MB / 1.015 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.381e-06/1.217, allocations: 4 kB / 1.015 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006631/1.223, allocations: 4.004 MB / 1.019 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001507/1.225, allocations: 454.7 kB / 1.02 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002825/1.225, allocations: 39.92 kB / 1.02 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009473/1.226, allocations: 79.91 kB / 1.02 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003808/1.227, allocations: 112.7 kB / 1.02 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.114e-05/1.227, allocations: 39.98 kB / 1.02 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00149/1.228, allocations: 1.002 MB / 1.021 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/1.228, allocations: 0 / 1.021 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003238/1.231, allocations: 0.6836 MB / 1.022 GB, free: 5.465 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005049/1.232, allocations: 155.6 kB / 1.022 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.006624/1.239, allocations: 3.526 MB / 1.025 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.424e-05/1.239, allocations: 0 / 1.025 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.003864/1.242, allocations: 2.296 MB / 1.027 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003597/1.246, allocations: 0.671 MB / 1.028 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/1.259, allocations: 6.447 MB / 1.034 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003364/1.263, allocations: 2.664 MB / 1.037 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001895/1.265, allocations: 485.4 kB / 1.037 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003566/1.265, allocations: 123.4 kB / 1.038 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of SimCode: time 1.593e-06/1.265, allocations: 0 / 1.038 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of Templates: time 0.06414/1.329, allocations: 34.14 MB / 1.071 GB, free: 3.148 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)