Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 292.3 MB / 308.1 MB, free: 4.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003138/0.003138, allocations: 184.5 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.1 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 101.3 kB / 0.748 GB, free: 61.34 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 52.06 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3139, allocations: 114.6 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009522/0.3235, allocations: 6.768 MB / 0.9888 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005675/0.3292, allocations: 3.099 MB / 0.9919 GB, free: 484 kB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009559/0.3302, allocations: 27.81 kB / 0.9919 GB, free: 456 kB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002589/0.3329, allocations: 0.8797 MB / 0.9928 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001658/0.3345, allocations: 477.7 kB / 0.9932 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.3359, allocations: 403.2 kB / 0.9936 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00215/0.338, allocations: 1.602 MB / 0.9952 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.3393, allocations: 0.6523 MB / 0.9958 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000896/0.3402, allocations: 430.2 kB / 0.9962 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009846/0.3412, allocations: 0.5254 MB / 0.9967 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002186/0.3414, allocations: 48 kB / 0.9968 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.3425, allocations: 455 kB / 0.9972 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004573/0.343, allocations: 291.1 kB / 0.9975 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0007416/0.3438, allocations: 429.7 kB / 0.9979 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00187/0.3456, allocations: 1.203 MB / 0.9991 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.3457, allocations: 8 kB / 0.9991 GB, free: 9.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3457, allocations: 0 / 0.9991 GB, free: 9.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.87e-05/0.3457, allocations: 0 / 0.9991 GB, free: 9.07 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003048/0.3488, allocations: 1.176 MB / 1 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.3488, allocations: 8.031 kB / 1 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/0.3507, allocations: 239.6 kB / 1 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.3519, allocations: 0.5531 MB / 1.001 GB, free: 7.004 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.618e-05/0.352, allocations: 49.67 kB / 1.001 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.3521, allocations: 64.36 kB / 1.001 GB, free: 6.895 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.354, allocations: 1.093 MB / 1.002 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.3541, allocations: 4 kB / 1.002 GB, free: 5.688 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.602e-05/0.3542, allocations: 28 kB / 1.002 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002059/0.3544, allocations: 85.25 kB / 1.002 GB, free: 5.574 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.3558, allocations: 0.7581 MB / 1.003 GB, free: 4.816 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006112/0.3619, allocations: 5.893 MB / 1.009 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.3629, allocations: 0.5516 MB / 1.009 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004612/0.3634, allocations: 330 kB / 1.01 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.119e-05/0.3635, allocations: 4.438 kB / 1.01 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.3635, allocations: 42.94 kB / 1.01 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=47): time 3.897e-06/0.3636, allocations: 0 / 1.01 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.004107/0.3677, allocations: 1.986 MB / 1.012 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.3677, allocations: 55.84 kB / 1.012 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007422/0.3685, allocations: 0.5665 MB / 1.012 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.3685, allocations: 33.7 kB / 1.012 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/0.3688, allocations: 418.9 kB / 1.013 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.369, allocations: 177.5 kB / 1.013 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.3692, allocations: 118.6 kB / 1.013 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3694, allocations: 382.7 kB / 1.013 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000463/0.3699, allocations: 273.9 kB / 1.014 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005801/0.3705, allocations: 0.4892 MB / 1.014 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.3716, allocations: 0.8054 MB / 1.015 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.3716, allocations: 8 kB / 1.015 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001982/0.3736, allocations: 1.082 MB / 1.016 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.3736, allocations: 8.875 kB / 1.016 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.3737, allocations: 8 kB / 1.016 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009375/0.3746, allocations: 279.2 kB / 1.016 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.3751, allocations: 127.7 kB / 1.016 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4919/0.867, allocations: 6.589 MB / 1.023 GB, free: 96.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007507/0.8678, allocations: 41.61 kB / 1.023 GB, free: 96.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/0.8679, allocations: 30.06 kB / 1.023 GB, free: 96.68 MB / 0.7448 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0003464/0.8682, allocations: 249.1 kB / 1.023 GB, free: 96.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.764e-05/0.8683, allocations: 71.47 kB / 1.023 GB, free: 96.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/0.87, allocations: 0.8915 MB / 1.024 GB, free: 96.49 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.87, allocations: 6.75 kB / 1.024 GB, free: 96.49 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.87, allocations: 7.391 kB / 1.024 GB, free: 96.49 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.87, allocations: 6.094 kB / 1.024 GB, free: 96.49 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/0.8726, allocations: 1.721 MB / 1.026 GB, free: 96.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.8726, allocations: 1.594 kB / 1.026 GB, free: 96.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.8729, allocations: 65.31 kB / 1.026 GB, free: 96.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006956/0.8736, allocations: 266 kB / 1.026 GB, free: 96.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.606e-05/0.8736, allocations: 14.84 kB / 1.026 GB, free: 96.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004957/0.8786, allocations: 6.583 MB / 1.032 GB, free: 91.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.8786, allocations: 1.547 kB / 1.032 GB, free: 91.08 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.8807, allocations: 2.005 MB / 1.034 GB, free: 90.27 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003098/0.881, allocations: 198.1 kB / 1.035 GB, free: 90.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.454e-05/0.8811, allocations: 10.16 kB / 1.035 GB, free: 90.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003581/0.8815, allocations: 30.02 kB / 1.035 GB, free: 90.13 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.8816, allocations: 43.48 kB / 1.035 GB, free: 90.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/0.8816, allocations: 13.97 kB / 1.035 GB, free: 90.13 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003892/0.882, allocations: 385.9 kB / 1.035 GB, free: 90.04 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.882, allocations: 0.6562 kB / 1.035 GB, free: 90.04 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008699/0.8829, allocations: 229.4 kB / 1.035 GB, free: 90.04 MB / 0.7448 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 (31): * 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: 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001564/0.8831, allocations: 127.1 kB / 1.035 GB, free: 89.95 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002006/0.8851, allocations: 1.268 MB / 1.037 GB, free: 89.49 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.8851, allocations: 1.938 kB / 1.037 GB, free: 89.49 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.8863, allocations: 0.8938 MB / 1.037 GB, free: 89.02 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.8874, allocations: 208.2 kB / 1.038 GB, free: 89.02 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002554/0.89, allocations: 1.938 MB / 1.04 GB, free: 87.98 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006152/0.8906, allocations: 1.027 MB / 1.041 GB, free: 87.27 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004869/0.8911, allocations: 126.6 kB / 1.041 GB, free: 87.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.8912, allocations: 44.97 kB / 1.041 GB, free: 87.25 MB / 0.7448 GB Notification: Performance of SimCode: time 4.1e-07/0.8912, allocations: 0 / 1.041 GB, free: 87.25 MB / 0.7448 GB Notification: Performance of Templates: time 0.02329/0.9145, allocations: 11.15 MB / 1.052 GB, free: 86.81 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)