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.001205/0.001205, allocations: 109.4 kB / 15.69 MB, free: 124 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 188.3 kB / 16.62 MB, free: 6.578 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.538/1.538, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.816/1.816, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001521/0.001521, allocations: 68.89 kB / 0.6723 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2591, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008944/0.2681, allocations: 6.124 MB / 0.7901 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005618/0.2737, allocations: 3.228 MB / 0.7933 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007847/0.2746, allocations: 27.81 kB / 0.7933 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002621/0.2772, allocations: 0.936 MB / 0.7942 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.2788, allocations: 477.5 kB / 0.7947 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.2803, allocations: 0.4978 MB / 0.7951 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001686/0.282, allocations: 1.096 MB / 0.7962 GB, free: 320 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009963/0.283, allocations: 0.6349 MB / 0.7968 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008014/0.2838, allocations: 434.3 kB / 0.7972 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006077/0.2844, allocations: 474.2 kB / 0.7977 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.053e-05/0.2845, allocations: 60 kB / 0.7978 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009162/0.2854, allocations: 494.9 kB / 0.7982 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002479/0.2857, allocations: 287.2 kB / 0.7985 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003579/0.286, allocations: 405.9 kB / 0.7989 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.2872, allocations: 1.176 MB / 0.8 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2872, allocations: 0 / 0.8 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2872, allocations: 0 / 0.8 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.2872, allocations: 0 / 0.8 GB, free: 12.38 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.001684/0.2889, allocations: 1.06 MB / 0.8011 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.289, allocations: 11.97 kB / 0.8011 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.2905, allocations: 223.6 kB / 0.8013 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009131/0.2914, allocations: 0.5922 MB / 0.8019 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.846e-05/0.2915, allocations: 45.67 kB / 0.8019 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.2916, allocations: 64.31 kB / 0.802 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.2931, allocations: 1.034 MB / 0.803 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/0.2931, allocations: 15.78 kB / 0.803 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.448e-05/0.2932, allocations: 24 kB / 0.803 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.96e-05/0.2933, allocations: 77.27 kB / 0.8031 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.2943, allocations: 0.6879 MB / 0.8038 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005152/0.2995, allocations: 5.737 MB / 0.8094 GB, free: 2.188 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008739/0.3004, allocations: 0.5988 MB / 0.81 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007523/0.3011, allocations: 424.6 kB / 0.8104 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.3012, allocations: 4 kB / 0.8104 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.3012, allocations: 34.55 kB / 0.8104 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.194e-06/0.3012, allocations: 0 / 0.8104 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.004265/0.3055, allocations: 2.053 MB / 0.8124 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.3056, allocations: 55.41 kB / 0.8125 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004744/0.306, allocations: 466.8 kB / 0.8129 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.3061, allocations: 37.7 kB / 0.8129 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.3063, allocations: 391 kB / 0.8133 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.3065, allocations: 149.8 kB / 0.8135 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.3066, allocations: 110.2 kB / 0.8136 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3068, allocations: 366.7 kB / 0.8139 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000337/0.3071, allocations: 253.2 kB / 0.8141 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/0.3076, allocations: 468.9 kB / 0.8146 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008417/0.3084, allocations: 0.7558 MB / 0.8153 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3084, allocations: 0 / 0.8153 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001783/0.3102, allocations: 1.062 MB / 0.8164 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.3103, allocations: 8 kB / 0.8164 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.3103, allocations: 16.05 kB / 0.8164 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.3113, allocations: 327.1 kB / 0.8167 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.3116, allocations: 95.88 kB / 0.8168 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007053/0.3187, allocations: 7.516 MB / 0.8241 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004639/0.3192, allocations: 39.95 kB / 0.8242 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/0.3193, allocations: 24 kB / 0.8242 GB, free: 2.008 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003201/0.3196, allocations: 244.9 kB / 0.8244 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.349e-05/0.3197, allocations: 59.28 kB / 0.8245 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.3212, allocations: 0.9122 MB / 0.8254 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3213, allocations: 4 kB / 0.8254 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3213, allocations: 4 kB / 0.8254 GB, free: 0.7656 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3213, allocations: 3.984 kB / 0.8254 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/0.3238, allocations: 1.704 MB / 0.8271 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3238, allocations: 4.125 kB / 0.8271 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.324, allocations: 47.91 kB / 0.8271 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009314/0.3249, allocations: 331.5 kB / 0.8274 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.325, allocations: 11.94 kB / 0.8274 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006758/0.3317, allocations: 7.514 MB / 0.8348 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3318, allocations: 0 / 0.8348 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.3334, allocations: 1.01 MB / 0.8358 GB, free: 5.438 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.3337, allocations: 176.2 kB / 0.8359 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.3338, allocations: 11.98 kB / 0.8359 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.334, allocations: 23.98 kB / 0.836 GB, free: 5.211 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.3342, allocations: 39.94 kB / 0.836 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.3342, allocations: 12 kB / 0.836 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003576/0.3346, allocations: 306.9 kB / 0.8363 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3346, allocations: 0 / 0.8363 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000894/0.3355, allocations: 199.9 kB / 0.8365 GB, free: 4.668 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000202/0.3357, allocations: 123.1 kB / 0.8366 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002013/0.3377, allocations: 1.207 MB / 0.8378 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-05/0.3377, allocations: 8.125 kB / 0.8378 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.3389, allocations: 0.8657 MB / 0.8386 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.3399, allocations: 206.6 kB / 0.8388 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.3421, allocations: 1.231 MB / 0.84 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005972/0.3427, allocations: 0.9921 MB / 0.841 GB, free: 15.87 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002576/0.343, allocations: 101.3 kB / 0.8411 GB, free: 15.77 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.239e-05/0.343, allocations: 35.44 kB / 0.8411 GB, free: 15.73 MB / 0.67 GB Notification: Performance of SimCode: time 5.71e-07/0.3431, allocations: 0 / 0.8411 GB, free: 15.73 MB / 0.67 GB Notification: Performance of Templates: time 0.01623/0.3593, allocations: 9.967 MB / 0.8509 GB, free: 5.863 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (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)