Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001438/0.001438, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001684/0.001685, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.57/1.57, allocations: 205.1 MB / 222.8 MB, free: 4.676 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.693/1.693, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.001314/0.001314, allocations: 65 kB / 0.6717 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1988, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0313/0.2301, allocations: 32.21 MB / 0.815 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01488/0.245, allocations: 10.28 MB / 0.825 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002883/0.248, allocations: 131.3 kB / 0.8251 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.008532/0.2566, allocations: 3.49 MB / 0.8286 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00499/0.2616, allocations: 1.7 MB / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005183/0.2668, allocations: 1.948 MB / 0.8321 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008784/0.2756, allocations: 7.341 MB / 0.8393 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01597/0.2916, allocations: 11.6 MB / 0.8506 GB, free: 8.91 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005561/0.2972, allocations: 3.22 MB / 0.8538 GB, free: 5.68 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005461/0.3027, allocations: 3.653 MB / 0.8573 GB, free: 2.016 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001759/0.3045, allocations: 0.6445 MB / 0.858 GB, free: 1.371 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004331/0.3088, allocations: 1.771 MB / 0.8597 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003877/0.3128, allocations: 2.542 MB / 0.8622 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005243/0.318, allocations: 2.898 MB / 0.865 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008796/0.3268, allocations: 8.633 MB / 0.8734 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.3269, allocations: 8 kB / 0.8734 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3269, allocations: 0 / 0.8734 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003071/0.3272, allocations: 0 / 0.8734 GB, free: 1.48 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01164/0.3389, allocations: 4.986 MB / 0.8783 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.3389, allocations: 8.031 kB / 0.8783 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006116/0.345, allocations: 0.959 MB / 0.8793 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005706/0.3508, allocations: 2.859 MB / 0.882 GB, free: 8.531 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000279/0.3511, allocations: 345.7 kB / 0.8824 GB, free: 8.191 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001297/0.3524, allocations: 468.2 kB / 0.8828 GB, free: 7.734 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01586/0.3683, allocations: 7.667 MB / 0.8903 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001524/0.3685, allocations: 27.77 kB / 0.8903 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006731/0.3691, allocations: 200 kB / 0.8905 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003326/0.3695, allocations: 312.9 kB / 0.8908 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01058/0.3801, allocations: 5.714 MB / 0.8964 GB, free: 9.453 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4148/0.7949, allocations: 35.09 MB / 0.9307 GB, free: 109.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002694/0.7977, allocations: 2.166 MB / 0.9328 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.799, allocations: 1.264 MB / 0.934 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.424e-05/0.7991, allocations: 15.28 kB / 0.934 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.7991, allocations: 51.59 kB / 0.9341 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 3.516e-06/0.7991, allocations: 0 / 0.9341 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01298/0.8121, allocations: 7.091 MB / 0.941 GB, free: 106.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.8122, allocations: 72.66 kB / 0.9411 GB, free: 106.6 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001955/0.8141, allocations: 1.483 MB / 0.9425 GB, free: 106 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001691/0.8143, allocations: 45.44 kB / 0.9426 GB, free: 106 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001364/0.8157, allocations: 1.998 MB / 0.9445 GB, free: 104.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005241/0.8162, allocations: 492.4 kB / 0.945 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000624/0.8168, allocations: 347 kB / 0.9453 GB, free: 103.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.85e-05/0.8169, allocations: 306.7 kB / 0.9456 GB, free: 103.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.8183, allocations: 0.9109 MB / 0.9465 GB, free: 103.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.82, allocations: 1.597 MB / 0.9481 GB, free: 102.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003661/0.8236, allocations: 2.734 MB / 0.9507 GB, free: 100.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.506e-05/0.8237, allocations: 6.562 kB / 0.9507 GB, free: 100.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006558/0.8302, allocations: 3.534 MB / 0.9542 GB, free: 98.78 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.8303, allocations: 13.38 kB / 0.9542 GB, free: 98.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.189e-05/0.8304, allocations: 22.31 kB / 0.9542 GB, free: 98.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002744/0.8331, allocations: 0.9103 MB / 0.9551 GB, free: 98.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/0.8344, allocations: 352.2 kB / 0.9554 GB, free: 98.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01666/0.8511, allocations: 23.11 MB / 0.978 GB, free: 78.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.8528, allocations: 106.1 kB / 0.9781 GB, free: 78.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.853, allocations: 85.78 kB / 0.9782 GB, free: 78.51 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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 prepare postOptimizeDAE: time 0.002452/0.8555, allocations: 1.608 MB / 0.9798 GB, free: 77.79 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000407/0.8559, allocations: 212.8 kB / 0.98 GB, free: 77.69 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004439/0.8603, allocations: 2.992 MB / 0.9829 GB, free: 75.99 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.8604, allocations: 11.78 kB / 0.9829 GB, free: 75.99 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.91e-05/0.8604, allocations: 11.88 kB / 0.9829 GB, free: 75.99 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.8604, allocations: 7.969 kB / 0.9829 GB, free: 75.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/0.8712, allocations: 7.336 MB / 0.9901 GB, free: 71.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.8713, allocations: 11.19 kB / 0.9901 GB, free: 71.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007998/0.8721, allocations: 181.8 kB / 0.9903 GB, free: 71.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002196/0.8743, allocations: 0.8203 MB / 0.9911 GB, free: 70.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/0.8745, allocations: 30.5 kB / 0.9911 GB, free: 70.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01409/0.8886, allocations: 21.95 MB / 1.013 GB, free: 50.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.8886, allocations: 14.44 kB / 1.013 GB, free: 50.39 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004443/0.8931, allocations: 3.015 MB / 1.015 GB, free: 48.53 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009157/0.894, allocations: 461.5 kB / 1.016 GB, free: 48.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/0.8943, allocations: 41.64 kB / 1.016 GB, free: 48.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007541/0.895, allocations: 69.17 kB / 1.016 GB, free: 48.12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003562/0.8954, allocations: 122.2 kB / 1.016 GB, free: 48.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.592e-05/0.8955, allocations: 37.12 kB / 1.016 GB, free: 48.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001103/0.8966, allocations: 0.9824 MB / 1.017 GB, free: 47.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8966, allocations: 4 kB / 1.017 GB, free: 47.15 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002738/0.8993, allocations: 0.7852 MB / 1.018 GB, free: 46.37 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002454/0.8996, allocations: 139.1 kB / 1.018 GB, free: 46.22 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005752/0.9054, allocations: 4.647 MB / 1.023 GB, free: 41.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/0.9054, allocations: 0 / 1.023 GB, free: 41.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002982/0.9084, allocations: 2.737 MB / 1.025 GB, free: 38.56 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/0.9115, allocations: 0.7268 MB / 1.026 GB, free: 37.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.9232, allocations: 9.804 MB / 1.036 GB, free: 28 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002707/0.926, allocations: 3.178 MB / 1.039 GB, free: 24.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004856/0.9265, allocations: 127.4 kB / 1.039 GB, free: 24.67 MB / 0.7325 GB Notification: Performance of SimCode: time 1.152e-06/0.9265, allocations: 3.938 kB / 1.039 GB, free: 24.67 MB / 0.7325 GB Notification: Performance of Templates: time 0.6509/1.577, allocations: 321.5 MB / 1.353 GB, free: 292.2 MB / 0.9512 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)