Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001504/0.001504, allocations: 113.7 kB / 17.08 MB, free: 6 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.001799/0.001799, allocations: 195 kB / 18.02 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7417/0.7417, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.88 kB / 0.5584 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1544, allocations: 76.19 MB / 0.6328 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03568/0.1901, allocations: 32.57 MB / 0.6646 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01857/0.2087, allocations: 10.27 MB / 0.6746 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003608/0.2124, allocations: 147.3 kB / 0.6747 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009502/0.2219, allocations: 3.718 MB / 0.6784 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005826/0.2278, allocations: 1.85 MB / 0.6802 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005854/0.2337, allocations: 2.132 MB / 0.6823 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009472/0.2431, allocations: 7.329 MB / 0.6894 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01466/0.2579, allocations: 9.424 MB / 0.6986 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005837/0.2637, allocations: 3.217 MB / 0.7018 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005846/0.2696, allocations: 3.489 MB / 0.7052 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00212/0.2718, allocations: 0.6445 MB / 0.7058 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004546/0.2763, allocations: 1.771 MB / 0.7075 GB, free: 7.523 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003993/0.2804, allocations: 2.546 MB / 0.71 GB, free: 4.973 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00595/0.2863, allocations: 2.898 MB / 0.7128 GB, free: 2.062 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01309/0.2994, allocations: 10.1 MB / 0.7227 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.537e-06/0.2995, allocations: 4 kB / 0.7227 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.617e-06/0.2995, allocations: 3.984 kB / 0.7227 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003253/0.2998, allocations: 0 / 0.7227 GB, free: 7.922 MB / 0.5606 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.01394/0.3138, allocations: 5.002 MB / 0.7276 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.3138, allocations: 12.03 kB / 0.7276 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006766/0.3206, allocations: 0.9434 MB / 0.7285 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006758/0.3274, allocations: 3.05 MB / 0.7315 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003671/0.3278, allocations: 349.7 kB / 0.7318 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001856/0.3297, allocations: 464.2 kB / 0.7323 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01843/0.3481, allocations: 7.663 MB / 0.7398 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002747/0.3484, allocations: 27.72 kB / 0.7398 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001687/0.3501, allocations: 200 kB / 0.74 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003704/0.3505, allocations: 316.9 kB / 0.7403 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3377/0.6883, allocations: 5.703 MB / 0.7459 GB, free: 97.69 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03281/0.7211, allocations: 34.83 MB / 0.7799 GB, free: 69.03 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002715/0.7239, allocations: 2.158 MB / 0.782 GB, free: 67.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.7253, allocations: 1.268 MB / 0.7832 GB, free: 66.89 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.828e-05/0.7254, allocations: 13.16 kB / 0.7832 GB, free: 66.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.7255, allocations: 56.47 kB / 0.7833 GB, free: 66.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=133): time 3.476e-06/0.7255, allocations: 0 / 0.7833 GB, free: 66.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.01249/0.738, allocations: 7.083 MB / 0.7902 GB, free: 62.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.738, allocations: 68.42 kB / 0.7903 GB, free: 62.13 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/0.7397, allocations: 1.484 MB / 0.7917 GB, free: 61.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.7398, allocations: 45.64 kB / 0.7918 GB, free: 61.24 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007345/0.7406, allocations: 2.007 MB / 0.7937 GB, free: 59.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003128/0.7409, allocations: 491.1 kB / 0.7942 GB, free: 59.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000424/0.7413, allocations: 348.9 kB / 0.7945 GB, free: 58.87 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.981e-05/0.7414, allocations: 305.1 kB / 0.7948 GB, free: 58.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.7424, allocations: 0.9117 MB / 0.7957 GB, free: 58.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/0.7436, allocations: 1.592 MB / 0.7973 GB, free: 56.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002385/0.746, allocations: 2.741 MB / 0.7999 GB, free: 54.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.746, allocations: 7.281 kB / 0.7999 GB, free: 54.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005045/0.751, allocations: 3.528 MB / 0.8034 GB, free: 52.72 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.7511, allocations: 18.53 kB / 0.8034 GB, free: 52.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/0.7511, allocations: 21.5 kB / 0.8034 GB, free: 52.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002204/0.7533, allocations: 0.9097 MB / 0.8043 GB, free: 52.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.7544, allocations: 341.6 kB / 0.8046 GB, free: 52.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0147/0.7691, allocations: 23.11 MB / 0.8272 GB, free: 27.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.7708, allocations: 108 kB / 0.8273 GB, free: 27.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.7709, allocations: 80 kB / 0.8274 GB, free: 27.77 MB / 0.5762 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.001993/0.7729, allocations: 1.609 MB / 0.829 GB, free: 26.15 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/0.7733, allocations: 205.6 kB / 0.8292 GB, free: 25.95 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004407/0.7777, allocations: 2.99 MB / 0.8321 GB, free: 22.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.7777, allocations: 23.25 kB / 0.8321 GB, free: 22.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.7777, allocations: 12 kB / 0.8321 GB, free: 22.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.7777, allocations: 7.969 kB / 0.8321 GB, free: 22.87 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009357/0.7871, allocations: 7.327 MB / 0.8393 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/0.7871, allocations: 4.562 kB / 0.8393 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007417/0.7879, allocations: 179.7 kB / 0.8394 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00206/0.79, allocations: 0.8179 MB / 0.8402 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-05/0.7901, allocations: 27.98 kB / 0.8403 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01607/0.8061, allocations: 21.96 MB / 0.8617 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.862e-06/0.8062, allocations: 7.938 kB / 0.8617 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005383/0.8116, allocations: 3.021 MB / 0.8647 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/0.8127, allocations: 454.5 kB / 0.8651 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003546/0.8131, allocations: 35.91 kB / 0.8651 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009211/0.814, allocations: 75.84 kB / 0.8652 GB, free: 2.918 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003485/0.8144, allocations: 132.6 kB / 0.8653 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.86e-05/0.8145, allocations: 36 kB / 0.8654 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001328/0.8158, allocations: 0.9756 MB / 0.8663 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8158, allocations: 0 / 0.8663 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003148/0.819, allocations: 0.7891 MB / 0.8671 GB, free: 0.9648 MB / 0.5919 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.0002964/0.8193, allocations: 147.6 kB / 0.8672 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005954/0.8253, allocations: 4.021 MB / 0.8712 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.8253, allocations: 4 kB / 0.8712 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003849/0.8292, allocations: 2.736 MB / 0.8738 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003571/0.8328, allocations: 0.728 MB / 0.8745 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/0.8462, allocations: 7.727 MB / 0.8821 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00386/0.8501, allocations: 3.178 MB / 0.8852 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005303/0.8506, allocations: 127.4 kB / 0.8853 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of SimCode: time 7.11e-07/0.8506, allocations: 0 / 0.8853 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of Templates: time 0.5735/1.424, allocations: 321.7 MB / 1.199 GB, free: 100.7 MB / 0.7481 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)