Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.376/2.376, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002126/0.002126, allocations: 184.2 kB / 326.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.412/2.412, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000893/0.0008928, allocations: 90.19 kB / 0.6817 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000488/0.0004884, allocations: 12 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2118, allocations: 106.3 MB / 0.8995 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9265/1.138, allocations: 174.9 MB / 1.07 GB, free: 66.51 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004707/1.139, allocations: 100 kB / 1.07 GB, free: 66.51 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1269/1.266, allocations: 31.44 MB / 1.101 GB, free: 62.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/1.266, allocations: 4 kB / 1.101 GB, free: 62.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.113e-05/1.266, allocations: 19.72 kB / 1.101 GB, free: 62.73 MB / 0.698 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.001977/1.268, allocations: 0.8668 MB / 1.102 GB, free: 62.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/1.268, allocations: 7.875 kB / 1.102 GB, free: 62.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/1.27, allocations: 207.3 kB / 1.102 GB, free: 62.08 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/1.272, allocations: 492.4 kB / 1.103 GB, free: 61.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/1.272, allocations: 44.02 kB / 1.103 GB, free: 61.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/1.272, allocations: 60.75 kB / 1.103 GB, free: 61.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/1.274, allocations: 0.8737 MB / 1.104 GB, free: 61.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.714e-05/1.274, allocations: 7.844 kB / 1.104 GB, free: 61.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.014e-05/1.274, allocations: 26.25 kB / 1.104 GB, free: 61.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.621e-05/1.274, allocations: 43.39 kB / 1.104 GB, free: 61.42 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/1.275, allocations: 0.564 MB / 1.104 GB, free: 61.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005967/1.281, allocations: 4.597 MB / 1.109 GB, free: 57.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006744/1.282, allocations: 301.2 kB / 1.109 GB, free: 57.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004365/1.282, allocations: 217.9 kB / 1.109 GB, free: 57.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.526e-05/1.283, allocations: 7.844 kB / 1.109 GB, free: 57.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/1.283, allocations: 38.09 kB / 1.109 GB, free: 57.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.156e-06/1.283, allocations: 0 / 1.109 GB, free: 57.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.008891/1.291, allocations: 2.65 MB / 1.112 GB, free: 57.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/1.292, allocations: 55.25 kB / 1.112 GB, free: 56.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000715/1.292, allocations: 455.7 kB / 1.112 GB, free: 56.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-05/1.292, allocations: 31.64 kB / 1.112 GB, free: 56.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/1.293, allocations: 324.4 kB / 1.113 GB, free: 56.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/1.293, allocations: 148.5 kB / 1.113 GB, free: 56.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/1.293, allocations: 8.469 kB / 1.113 GB, free: 56.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000106/1.293, allocations: 363.7 kB / 1.113 GB, free: 56.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005509/1.294, allocations: 233.2 kB / 1.113 GB, free: 56.22 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006528/1.294, allocations: 388.5 kB / 1.114 GB, free: 56.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007693/1.295, allocations: 285.9 kB / 1.114 GB, free: 56.03 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.295, allocations: 1.5 kB / 1.114 GB, free: 56.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002924/1.298, allocations: 0.8967 MB / 1.115 GB, free: 55.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/1.298, allocations: 8.688 kB / 1.115 GB, free: 55.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/1.298, allocations: 4.438 kB / 1.115 GB, free: 55.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/1.299, allocations: 231 kB / 1.115 GB, free: 55.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/1.3, allocations: 114.6 kB / 1.115 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006363/1.307, allocations: 4.93 MB / 1.12 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009312/1.308, allocations: 38.58 kB / 1.12 GB, free: 52.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.725e-05/1.308, allocations: 27.05 kB / 1.12 GB, free: 52 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005148/1.308, allocations: 221.7 kB / 1.12 GB, free: 51.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/1.309, allocations: 54.78 kB / 1.12 GB, free: 51.85 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002224/1.311, allocations: 0.7739 MB / 1.121 GB, free: 51.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/1.311, allocations: 7.469 kB / 1.121 GB, free: 51.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.311, allocations: 0 / 1.121 GB, free: 51.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/1.311, allocations: 4 kB / 1.121 GB, free: 51.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003621/1.315, allocations: 1.48 MB / 1.123 GB, free: 51.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.315, allocations: 7.844 kB / 1.123 GB, free: 51.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000677/1.315, allocations: 65.44 kB / 1.123 GB, free: 51.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001106/1.316, allocations: 213.3 kB / 1.123 GB, free: 51.28 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-05/1.317, allocations: 7.375 kB / 1.123 GB, free: 51.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005608/1.322, allocations: 4.877 MB / 1.128 GB, free: 47.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.322, allocations: 3.938 kB / 1.128 GB, free: 47.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002698/1.325, allocations: 1.131 MB / 1.129 GB, free: 47.18 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/1.325, allocations: 167.9 kB / 1.129 GB, free: 47.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/1.325, allocations: 11.59 kB / 1.129 GB, free: 47.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005523/1.326, allocations: 27.81 kB / 1.129 GB, free: 47.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/1.326, allocations: 36.34 kB / 1.129 GB, free: 47.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/1.326, allocations: 11.38 kB / 1.129 GB, free: 47.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004681/1.327, allocations: 309.7 kB / 1.129 GB, free: 46.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/1.327, allocations: 4.062 kB / 1.129 GB, free: 46.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00102/1.328, allocations: 182.6 kB / 1.129 GB, free: 46.95 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002198/1.328, allocations: 113 kB / 1.13 GB, free: 46.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002246/1.33, allocations: 1.001 MB / 1.13 GB, free: 46.47 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.33, allocations: 0 / 1.13 GB, free: 46.47 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/1.332, allocations: 0.6774 MB / 1.131 GB, free: 46.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/1.333, allocations: 167.1 kB / 1.131 GB, free: 46.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/1.336, allocations: 1.506 MB / 1.133 GB, free: 45.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005315/1.337, allocations: 0.9501 MB / 1.134 GB, free: 44.55 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006697/1.337, allocations: 108 kB / 1.134 GB, free: 44.54 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/1.338, allocations: 34.5 kB / 1.134 GB, free: 44.53 MB / 0.698 GB Notification: Performance of SimCode: time 1.162e-06/1.338, allocations: 4 kB / 1.134 GB, free: 44.52 MB / 0.698 GB Notification: Performance of Templates: time 0.02179/1.359, allocations: 8.157 MB / 1.142 GB, free: 40.76 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)