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.007856/0.007855, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001392/0.001392, allocations: 192.8 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.71/1.71, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.795/1.795, allocations: 251.7 MB / 0.5094 GB, free: 3.047 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.001636/0.001637, allocations: 66.09 kB / 0.7258 GB, free: 8.98 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2665, allocations: 104.7 MB / 0.8281 GB, free: 168 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02927/0.2958, allocations: 26.58 MB / 0.854 GB, free: 5.492 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01548/0.3113, allocations: 8.134 MB / 0.862 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003369/0.3147, allocations: 115.4 kB / 0.8621 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00757/0.3224, allocations: 2.759 MB / 0.8648 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006193/0.3286, allocations: 1.671 MB / 0.8664 GB, free: 8.773 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004901/0.3335, allocations: 1.672 MB / 0.868 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01039/0.3439, allocations: 6.15 MB / 0.874 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01265/0.3566, allocations: 7.296 MB / 0.8812 GB, free: 9.531 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006251/0.3629, allocations: 2.625 MB / 0.8837 GB, free: 6.898 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006542/0.3694, allocations: 2.831 MB / 0.8865 GB, free: 4.059 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002042/0.3715, allocations: 0.5156 MB / 0.887 GB, free: 3.543 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004606/0.3761, allocations: 1.283 MB / 0.8882 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.004176/0.3803, allocations: 2.058 MB / 0.8903 GB, free: 200 kB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.006622/0.387, allocations: 2.381 MB / 0.8926 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01312/0.4001, allocations: 8.055 MB / 0.9004 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.4002, allocations: 0 / 0.9004 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.627e-06/0.4002, allocations: 4 kB / 0.9004 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0003386/0.4005, allocations: 0 / 0.9004 GB, free: 5.723 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.0137/0.4142, allocations: 4.236 MB / 0.9046 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.4143, allocations: 12.03 kB / 0.9046 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005859/0.4202, allocations: 0.7923 MB / 0.9054 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6635/1.084, allocations: 2.572 MB / 0.9079 GB, free: 69.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000311/1.084, allocations: 271 kB / 0.9081 GB, free: 69.32 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001584/1.086, allocations: 377.5 kB / 0.9085 GB, free: 69.28 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01588/1.102, allocations: 5.99 MB / 0.9144 GB, free: 66.72 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/1.102, allocations: 20.58 kB / 0.9144 GB, free: 66.71 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004692/1.102, allocations: 162 kB / 0.9145 GB, free: 66.6 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000793/1.103, allocations: 282.7 kB / 0.9148 GB, free: 66.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01234/1.115, allocations: 4.523 MB / 0.9192 GB, free: 65 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03813/1.154, allocations: 27.46 MB / 0.946 GB, free: 42.49 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002946/1.157, allocations: 1.113 MB / 0.9471 GB, free: 42.08 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/1.158, allocations: 1.021 MB / 0.9481 GB, free: 41.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/1.159, allocations: 10.78 kB / 0.9481 GB, free: 41.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.182e-05/1.159, allocations: 49.84 kB / 0.9482 GB, free: 41.54 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 3.957e-06/1.159, allocations: 0 / 0.9482 GB, free: 41.54 MB / 0.7169 GB Notification: Performance of matching and sorting (n=131): time 0.02561/1.184, allocations: 9.669 MB / 0.9576 GB, free: 35.86 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/1.184, allocations: 65.09 kB / 0.9577 GB, free: 35.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003489/1.188, allocations: 1.499 MB / 0.9591 GB, free: 35 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001669/1.188, allocations: 46.73 kB / 0.9592 GB, free: 34.95 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001166/1.189, allocations: 1.671 MB / 0.9608 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005117/1.19, allocations: 470.4 kB / 0.9613 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006269/1.19, allocations: 328.2 kB / 0.9616 GB, free: 32.9 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.791e-05/1.19, allocations: 305.1 kB / 0.9619 GB, free: 32.6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/1.192, allocations: 0.9182 MB / 0.9628 GB, free: 32.12 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/1.193, allocations: 1.455 MB / 0.9642 GB, free: 30.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002836/1.196, allocations: 2.555 MB / 0.9667 GB, free: 29.12 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.676e-05/1.196, allocations: 3.969 kB / 0.9667 GB, free: 29.12 MB / 0.7169 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006166/1.202, allocations: 3.289 MB / 0.9699 GB, free: 27.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/1.202, allocations: 12 kB / 0.9699 GB, free: 27.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-05/1.202, allocations: 19.94 kB / 0.9699 GB, free: 27.24 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002125/1.205, allocations: 0.7374 MB / 0.9706 GB, free: 26.47 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/1.206, allocations: 393.1 kB / 0.971 GB, free: 26.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/1.219, allocations: 17.04 MB / 0.9877 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002462/1.221, allocations: 99.91 kB / 0.9878 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004074/1.222, allocations: 72.55 kB / 0.9878 GB, free: 7.625 MB / 0.7169 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.00292/1.225, allocations: 1.32 MB / 0.9891 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008029/1.226, allocations: 205.6 kB / 0.9893 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004981/1.231, allocations: 2.784 MB / 0.992 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/1.231, allocations: 16 kB / 0.992 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.387e-05/1.231, allocations: 4 kB / 0.992 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/1.231, allocations: 7.969 kB / 0.9921 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/1.244, allocations: 6.219 MB / 0.9981 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/1.244, allocations: 4 kB / 0.9981 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/1.245, allocations: 236.3 kB / 0.9984 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002149/1.248, allocations: 0.6712 MB / 0.999 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/1.248, allocations: 35.98 kB / 0.999 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01676/1.264, allocations: 16.78 MB / 1.015 GB, free: 9.879 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.148e-05/1.265, allocations: 12.06 kB / 1.015 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007311/1.272, allocations: 4 MB / 1.019 GB, free: 5.758 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/1.273, allocations: 466.5 kB / 1.02 GB, free: 5.281 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007346/1.274, allocations: 30.81 kB / 1.02 GB, free: 5.254 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/1.276, allocations: 83.89 kB / 1.02 GB, free: 5.172 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004055/1.276, allocations: 116.7 kB / 1.02 GB, free: 5.055 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/1.276, allocations: 43.94 kB / 1.02 GB, free: 5.012 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002165/1.278, allocations: 0.9942 MB / 1.021 GB, free: 4.027 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.278, allocations: 0 / 1.021 GB, free: 4.027 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003667/1.282, allocations: 0.6875 MB / 1.022 GB, free: 3.34 MB / 0.7481 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.0003766/1.282, allocations: 151.9 kB / 1.022 GB, free: 3.18 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006188/1.289, allocations: 3.516 MB / 1.025 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/1.289, allocations: 4 kB / 1.025 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003732/1.292, allocations: 2.29 MB / 1.028 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004589/1.297, allocations: 0.67 MB / 1.028 GB, free: 12.52 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/1.312, allocations: 6.442 MB / 1.034 GB, free: 6.016 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004426/1.316, allocations: 2.67 MB / 1.037 GB, free: 3.316 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002044/1.318, allocations: 485.4 kB / 1.038 GB, free: 2.84 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000546/1.319, allocations: 119.4 kB / 1.038 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of SimCode: time 1.212e-06/1.319, allocations: 0 / 1.038 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of Templates: time 0.06937/1.388, allocations: 34.14 MB / 1.071 GB, free: 1.113 MB / 0.795 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)