Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001179, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.655/1.655, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0007717/0.0007719, allocations: 13.47 kB / 0.6737 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2791, allocations: 116.3 MB / 0.7873 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007268/0.2864, allocations: 5.433 MB / 0.7926 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00536/0.2918, allocations: 3.05 MB / 0.7956 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000722/0.2925, allocations: 23.81 kB / 0.7956 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005019/0.2931, allocations: 123 kB / 0.7957 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.2946, allocations: 370 kB / 0.7961 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.296, allocations: 375.1 kB / 0.7964 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001608/0.2976, allocations: 1.209 MB / 0.7976 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/0.2993, allocations: 0.916 MB / 0.7985 GB, free: 364 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006059/0.2999, allocations: 362.4 kB / 0.7989 GB, free: 0 / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005408/0.3005, allocations: 430.4 kB / 0.7993 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.073e-05/0.3005, allocations: 32 kB / 0.7993 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006308/0.3012, allocations: 255.6 kB / 0.7995 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000233/0.3014, allocations: 251.3 kB / 0.7998 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.3016, allocations: 165.3 kB / 0.7999 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0008568/0.3024, allocations: 0.8769 MB / 0.8008 GB, free: 14 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.3024, allocations: 0 / 0.8008 GB, free: 14 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3025, allocations: 0 / 0.8008 GB, free: 14 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.129e-05/0.3025, allocations: 0 / 0.8008 GB, free: 14 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00142/0.3039, allocations: 0.9269 MB / 0.8017 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3039, allocations: 11.97 kB / 0.8017 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.3053, allocations: 230.7 kB / 0.8019 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007446/0.3061, allocations: 0.521 MB / 0.8024 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.3061, allocations: 45.3 kB / 0.8025 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.152e-05/0.3062, allocations: 59.98 kB / 0.8025 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.3076, allocations: 1.026 MB / 0.8035 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.3077, allocations: 15.83 kB / 0.8036 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.266e-05/0.3077, allocations: 31.98 kB / 0.8036 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.249e-05/0.3078, allocations: 65.28 kB / 0.8036 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.3088, allocations: 0.6878 MB / 0.8043 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005664/0.3145, allocations: 5.768 MB / 0.8099 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008423/0.3154, allocations: 0.6011 MB / 0.8105 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007259/0.3161, allocations: 424.6 kB / 0.8109 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.3162, allocations: 4 kB / 0.8109 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.3162, allocations: 34.56 kB / 0.811 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 1.904e-06/0.3162, allocations: 0 / 0.811 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.004458/0.3207, allocations: 2.058 MB / 0.813 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.3207, allocations: 55.41 kB / 0.813 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005082/0.3213, allocations: 462.8 kB / 0.8135 GB, free: 212 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.3213, allocations: 37.7 kB / 0.8135 GB, free: 168 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.3216, allocations: 391 kB / 0.8139 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.3218, allocations: 145.9 kB / 0.814 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.3218, allocations: 12 kB / 0.814 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.322, allocations: 366.7 kB / 0.8144 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.3224, allocations: 241.2 kB / 0.8146 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005168/0.3229, allocations: 464.9 kB / 0.8151 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004893/0.3234, allocations: 315.7 kB / 0.8154 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3234, allocations: 0 / 0.8154 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002036/0.3254, allocations: 1.058 MB / 0.8164 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.3255, allocations: 8 kB / 0.8164 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.3255, allocations: 8 kB / 0.8164 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.3266, allocations: 327.1 kB / 0.8167 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.3269, allocations: 99.81 kB / 0.8168 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007184/0.3341, allocations: 6.947 MB / 0.8236 GB, free: 5.148 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004903/0.3346, allocations: 32.02 kB / 0.8236 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/0.3347, allocations: 24 kB / 0.8237 GB, free: 5.094 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000495/0.3352, allocations: 253.5 kB / 0.8239 GB, free: 4.836 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.3354, allocations: 59.39 kB / 0.824 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/0.3373, allocations: 0.9118 MB / 0.8248 GB, free: 3.844 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.3373, allocations: 4 kB / 0.8249 GB, free: 3.84 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.3373, allocations: 4 kB / 0.8249 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.3373, allocations: 3.984 kB / 0.8249 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002826/0.3401, allocations: 1.712 MB / 0.8265 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.3402, allocations: 0 / 0.8265 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.3403, allocations: 39.97 kB / 0.8266 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008698/0.3412, allocations: 323.3 kB / 0.8269 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.3413, allocations: 12 kB / 0.8269 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006873/0.3481, allocations: 6.924 MB / 0.8337 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.627e-05/0.3482, allocations: 4 kB / 0.8337 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.35, allocations: 1.003 MB / 0.8346 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/0.3503, allocations: 180.4 kB / 0.8348 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.3505, allocations: 19.89 kB / 0.8348 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002944/0.3508, allocations: 23.97 kB / 0.8348 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.3509, allocations: 39.95 kB / 0.8349 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.3509, allocations: 12 kB / 0.8349 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003964/0.3513, allocations: 306.9 kB / 0.8352 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3513, allocations: 0 / 0.8352 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009294/0.3523, allocations: 196 kB / 0.8354 GB, free: 8.363 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001822/0.3525, allocations: 108 kB / 0.8355 GB, free: 8.246 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001992/0.3545, allocations: 1.207 MB / 0.8367 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3545, allocations: 0 / 0.8367 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.3557, allocations: 0.8697 MB / 0.8375 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009728/0.3567, allocations: 185.7 kB / 0.8377 GB, free: 5.891 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/0.3593, allocations: 1.492 MB / 0.8391 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008321/0.3601, allocations: 0.9843 MB / 0.8401 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003646/0.3605, allocations: 105.2 kB / 0.8402 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.771e-05/0.3606, allocations: 39.38 kB / 0.8402 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of SimCode: time 6.41e-07/0.3606, allocations: 0 / 0.8402 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of Templates: time 0.01767/0.3783, allocations: 9.196 MB / 0.8492 GB, free: 10.09 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: