Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.87/1.87, 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.001628/0.001628, allocations: 188.1 kB / 376.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.94/1.94, allocations: 205 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.00104/0.00104, allocations: 99.86 kB / 0.748 GB, free: 61.37 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 59.91 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.299, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.009075/0.3081, allocations: 5.526 MB / 0.9876 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00505/0.3132, allocations: 2.667 MB / 0.9902 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007636/0.314, allocations: 23.81 kB / 0.9903 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001943/0.3161, allocations: 0.6384 MB / 0.9909 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.3174, allocations: 386.1 kB / 0.9913 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.3185, allocations: 371.3 kB / 0.9916 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001567/0.3201, allocations: 1.259 MB / 0.9928 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008631/0.321, allocations: 458.3 kB / 0.9933 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000708/0.3217, allocations: 334.6 kB / 0.9936 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007936/0.3225, allocations: 418.3 kB / 0.994 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.3227, allocations: 36 kB / 0.994 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000987/0.3237, allocations: 439.1 kB / 0.9944 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0003567/0.324, allocations: 227.4 kB / 0.9947 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0005406/0.3246, allocations: 342.1 kB / 0.995 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.326, allocations: 0.9694 MB / 0.9959 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.326, allocations: 3.938 kB / 0.9959 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3261, allocations: 0 / 0.9959 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.243e-05/0.3261, allocations: 0 / 0.9959 GB, free: 12.27 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002253/0.3284, allocations: 0.9738 MB / 0.9969 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.3284, allocations: 12.03 kB / 0.9969 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/0.3298, allocations: 195.8 kB / 0.9971 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008361/0.3307, allocations: 0.4906 MB / 0.9976 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.898e-05/0.3307, allocations: 37.38 kB / 0.9976 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.3309, allocations: 60.55 kB / 0.9977 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.3321, allocations: 0.824 MB / 0.9985 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.3321, allocations: 11.94 kB / 0.9985 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/0.3322, allocations: 20 kB / 0.9985 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001851/0.3324, allocations: 64.94 kB / 0.9986 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008478/0.3332, allocations: 0.5735 MB / 0.9991 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004635/0.3379, allocations: 4.593 MB / 1.004 GB, free: 3.906 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004575/0.3384, allocations: 299.2 kB / 1.004 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.3387, allocations: 225.3 kB / 1.004 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.3387, allocations: 4.281 kB / 1.004 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.3387, allocations: 38.84 kB / 1.004 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 3.115e-06/0.3388, allocations: 0 / 1.004 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of matching and sorting (n=40): time 0.005419/0.3442, allocations: 2.626 MB / 1.007 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.3442, allocations: 55.41 kB / 1.007 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004987/0.3447, allocations: 466 kB / 1.007 GB, free: 48 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.3448, allocations: 29.7 kB / 1.007 GB, free: 12 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.345, allocations: 351.6 kB / 1.008 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.3452, allocations: 145.9 kB / 1.008 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.3453, allocations: 106.1 kB / 1.008 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.3455, allocations: 366.7 kB / 1.008 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/0.3459, allocations: 241 kB / 1.008 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004749/0.3464, allocations: 410.3 kB / 1.009 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008502/0.3472, allocations: 0.674 MB / 1.009 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3472, allocations: 0 / 1.009 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001601/0.3488, allocations: 0.9207 MB / 1.01 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.3489, allocations: 11.98 kB / 1.01 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.3489, allocations: 4 kB / 1.01 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007951/0.3497, allocations: 223 kB / 1.011 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/0.3502, allocations: 115.8 kB / 1.011 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004665/0.3549, allocations: 4.935 MB / 1.015 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004616/0.3554, allocations: 35.91 kB / 1.016 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/0.3554, allocations: 24 kB / 1.016 GB, free: 6.891 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0003298/0.3557, allocations: 221.6 kB / 1.016 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.305e-05/0.3558, allocations: 63.34 kB / 1.016 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.3574, allocations: 0.7818 MB / 1.017 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.3574, allocations: 8.188 kB / 1.017 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3574, allocations: 4 kB / 1.017 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3574, allocations: 144 / 1.017 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/0.3599, allocations: 1.501 MB / 1.018 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3599, allocations: 0 / 1.018 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.3603, allocations: 76.09 kB / 1.018 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006756/0.361, allocations: 206.3 kB / 1.018 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/0.361, allocations: 8 kB / 1.018 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4681/0.8291, allocations: 4.869 MB / 1.023 GB, free: 96.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.8292, allocations: 7.125 kB / 1.023 GB, free: 96.46 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003836/0.833, allocations: 2.938 MB / 1.026 GB, free: 95.42 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/0.8333, allocations: 167.7 kB / 1.026 GB, free: 95.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/0.8333, allocations: 9.844 kB / 1.026 GB, free: 95.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.8337, allocations: 30.89 kB / 1.026 GB, free: 95.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.8338, allocations: 37.17 kB / 1.026 GB, free: 95.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/0.8338, allocations: 13.94 kB / 1.026 GB, free: 95.32 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002845/0.8341, allocations: 313.6 kB / 1.027 GB, free: 95.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.8341, allocations: 1.094 kB / 1.027 GB, free: 95.23 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007308/0.8348, allocations: 207.5 kB / 1.027 GB, free: 95.23 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001352/0.835, allocations: 116.7 kB / 1.027 GB, free: 95.15 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001379/0.8364, allocations: 1.002 MB / 1.028 GB, free: 94.81 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.8364, allocations: 2.234 kB / 1.028 GB, free: 94.81 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008017/0.8372, allocations: 0.6799 MB / 1.028 GB, free: 94.46 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008567/0.8381, allocations: 169.5 kB / 1.029 GB, free: 94.46 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.84, allocations: 1.779 MB / 1.03 GB, free: 93.57 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.8404, allocations: 0.9659 MB / 1.031 GB, free: 92.86 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003542/0.8408, allocations: 116.6 kB / 1.031 GB, free: 92.85 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.922e-05/0.8409, allocations: 38.41 kB / 1.031 GB, free: 92.84 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.8409, allocations: 0 / 1.031 GB, free: 92.84 MB / 0.7448 GB Notification: Performance of Templates: time 0.018/0.8589, allocations: 9.063 MB / 1.04 GB, free: 92.49 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)