Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.001176/0.001176, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001291/0.001291, allocations: 192.2 kB / 16.14 MB, free: 6.703 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.519/1.519, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.831/1.831, allocations: 292.2 MB / 0.5484 GB, free: 13.67 MB / 462.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.001327/0.001327, allocations: 65.02 kB / 0.6708 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2276, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007707/0.2354, allocations: 5.531 MB / 0.7881 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004632/0.24, allocations: 2.674 MB / 0.7907 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004581/0.2405, allocations: 23.81 kB / 0.7907 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001627/0.2422, allocations: 0.6304 MB / 0.7913 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008813/0.2431, allocations: 386.1 kB / 0.7917 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008646/0.244, allocations: 371.3 kB / 0.7921 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001204/0.2452, allocations: 1.252 MB / 0.7933 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007057/0.2459, allocations: 458.3 kB / 0.7937 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003842/0.2463, allocations: 330.6 kB / 0.794 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004657/0.2468, allocations: 410.4 kB / 0.7944 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.538e-05/0.2468, allocations: 32 kB / 0.7945 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006723/0.2475, allocations: 447.1 kB / 0.7949 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.2477, allocations: 227.4 kB / 0.7951 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002969/0.248, allocations: 334.1 kB / 0.7954 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009326/0.249, allocations: 0.9694 MB / 0.7964 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.249, allocations: 0 / 0.7964 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.62e-07/0.249, allocations: 3.938 kB / 0.7964 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.249, allocations: 0 / 0.7964 GB, free: 15.92 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001589/0.2506, allocations: 0.9893 MB / 0.7973 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2506, allocations: 8.031 kB / 0.7973 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.252, allocations: 191.9 kB / 0.7975 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007418/0.2528, allocations: 0.4905 MB / 0.798 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.2528, allocations: 33.38 kB / 0.798 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.253, allocations: 56.55 kB / 0.7981 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.2541, allocations: 0.8325 MB / 0.7989 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.2541, allocations: 3.938 kB / 0.7989 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-05/0.2542, allocations: 28 kB / 0.7989 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001957/0.2544, allocations: 64.94 kB / 0.799 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008884/0.2553, allocations: 0.5735 MB / 0.7996 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004141/0.2594, allocations: 4.581 MB / 0.804 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.2599, allocations: 291.3 kB / 0.8043 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003556/0.2603, allocations: 225.3 kB / 0.8045 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.2603, allocations: 8.219 kB / 0.8045 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.2603, allocations: 42.84 kB / 0.8046 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.733e-06/0.2603, allocations: 0 / 0.8046 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.005463/0.2658, allocations: 2.631 MB / 0.8071 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.2659, allocations: 59.39 kB / 0.8072 GB, free: 4.148 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004813/0.2664, allocations: 466 kB / 0.8076 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.2664, allocations: 33.7 kB / 0.8077 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.2667, allocations: 339.7 kB / 0.808 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.2668, allocations: 149.9 kB / 0.8081 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.267, allocations: 102.2 kB / 0.8082 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.2671, allocations: 362.8 kB / 0.8086 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.2674, allocations: 236.9 kB / 0.8088 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004257/0.2679, allocations: 410.5 kB / 0.8092 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000796/0.2687, allocations: 0.6779 MB / 0.8099 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2687, allocations: 0 / 0.8099 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00161/0.2703, allocations: 0.9208 MB / 0.8108 GB, free: 300 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2703, allocations: 8 kB / 0.8108 GB, free: 292 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.2703, allocations: 4 kB / 0.8108 GB, free: 288 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007575/0.2711, allocations: 230.9 kB / 0.811 GB, free: 48 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005111/0.2716, allocations: 119.8 kB / 0.8111 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004709/0.2764, allocations: 4.935 MB / 0.8159 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004392/0.2768, allocations: 35.97 kB / 0.816 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.2769, allocations: 24 kB / 0.816 GB, free: 10.53 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002973/0.2772, allocations: 225.9 kB / 0.8162 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-05/0.2773, allocations: 63.28 kB / 0.8163 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.2787, allocations: 0.7704 MB / 0.817 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2787, allocations: 4 kB / 0.817 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.2787, allocations: 4 kB / 0.817 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2787, allocations: 4 kB / 0.817 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.281, allocations: 1.505 MB / 0.8185 GB, free: 7.844 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2811, allocations: 0 / 0.8185 GB, free: 7.844 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/0.2814, allocations: 67.89 kB / 0.8186 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006593/0.2821, allocations: 206.6 kB / 0.8188 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.2821, allocations: 15.92 kB / 0.8188 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004359/0.2865, allocations: 4.868 MB / 0.8235 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.2865, allocations: 8.016 kB / 0.8235 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.2882, allocations: 1.142 MB / 0.8246 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.2884, allocations: 176.4 kB / 0.8248 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.785e-05/0.2885, allocations: 8 kB / 0.8248 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.2888, allocations: 23.97 kB / 0.8248 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.951e-05/0.2889, allocations: 43.83 kB / 0.8249 GB, free: 0.8164 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.289, allocations: 8.188 kB / 0.8249 GB, free: 0.8086 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003358/0.2893, allocations: 322.9 kB / 0.8252 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2893, allocations: 0 / 0.8252 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006739/0.29, allocations: 168 kB / 0.8254 GB, free: 340 kB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,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.0001437/0.2901, allocations: 119.1 kB / 0.8255 GB, free: 212 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001499/0.2917, allocations: 1.008 MB / 0.8265 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2917, allocations: 0 / 0.8265 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000878/0.2926, allocations: 0.6801 MB / 0.8271 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008471/0.2934, allocations: 171.8 kB / 0.8273 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.2953, allocations: 1.508 MB / 0.8288 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.2958, allocations: 0.9494 MB / 0.8297 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003412/0.2962, allocations: 117 kB / 0.8298 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.742e-05/0.2963, allocations: 39.44 kB / 0.8298 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.2963, allocations: 0 / 0.8298 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of Templates: time 0.0159/0.3122, allocations: 8.544 MB / 0.8382 GB, free: 3.148 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)