Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 111.8 kB / 16.37 MB, free: 5.535 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.001156/0.001155, allocations: 186.4 kB / 17.3 MB, free: 5.188 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.381/1.381, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.739/1.739, allocations: 292.3 MB / 0.5496 GB, free: 17.64 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.001458/0.001458, allocations: 72.06 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2366, allocations: 114.5 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.408/0.6446, allocations: 5.437 MB / 0.7901 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004158/0.6488, allocations: 2.643 MB / 0.7927 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004285/0.6493, allocations: 21.66 kB / 0.7927 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.651, allocations: 0.6779 MB / 0.7934 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0008839/0.6519, allocations: 410.8 kB / 0.7938 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008769/0.6528, allocations: 404.4 kB / 0.7941 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007721/0.6536, allocations: 0.9433 MB / 0.7951 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005505/0.6541, allocations: 470.7 kB / 0.7955 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003892/0.6545, allocations: 370.5 kB / 0.7959 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004206/0.655, allocations: 404.2 kB / 0.7963 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.066e-05/0.655, allocations: 48.28 kB / 0.7963 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005434/0.6556, allocations: 365.6 kB / 0.7967 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.6558, allocations: 247.6 kB / 0.7969 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002572/0.656, allocations: 340.5 kB / 0.7972 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0008927/0.6569, allocations: 0.9736 MB / 0.7982 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.657, allocations: 0 / 0.7982 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.657, allocations: 0 / 0.7982 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.657, allocations: 0 / 0.7982 GB, free: 44.62 MB / 0.6544 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.001398/0.6584, allocations: 0.9764 MB / 0.7991 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.6584, allocations: 15.09 kB / 0.7991 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.6599, allocations: 188.7 kB / 0.7993 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007093/0.6606, allocations: 0.5165 MB / 0.7998 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.6607, allocations: 43.36 kB / 0.7999 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.6608, allocations: 56.84 kB / 0.7999 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.662, allocations: 0.8337 MB / 0.8007 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.662, allocations: 4.125 kB / 0.8007 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.624e-05/0.6621, allocations: 23.48 kB / 0.8008 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001965/0.6623, allocations: 71.8 kB / 0.8008 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.6633, allocations: 0.5694 MB / 0.8014 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003975/0.6673, allocations: 4.567 MB / 0.8058 GB, free: 38.94 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004875/0.6678, allocations: 296 kB / 0.8061 GB, free: 38.82 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.6681, allocations: 225.9 kB / 0.8063 GB, free: 38.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.6682, allocations: 4.094 kB / 0.8063 GB, free: 38.73 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.6682, allocations: 41.73 kB / 0.8064 GB, free: 38.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 2.184e-06/0.6682, allocations: 0 / 0.8064 GB, free: 38.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.005804/0.674, allocations: 2.618 MB / 0.8089 GB, free: 37.3 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.6741, allocations: 57.11 kB / 0.809 GB, free: 37.24 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005752/0.6747, allocations: 460.7 kB / 0.8094 GB, free: 37.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.6747, allocations: 32.36 kB / 0.8095 GB, free: 36.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.6749, allocations: 341.3 kB / 0.8098 GB, free: 36.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.675, allocations: 146.3 kB / 0.8099 GB, free: 36.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.6752, allocations: 106 kB / 0.81 GB, free: 36.53 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.6754, allocations: 367.1 kB / 0.8104 GB, free: 36.19 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003801/0.6758, allocations: 238.6 kB / 0.8106 GB, free: 36.11 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/0.6762, allocations: 404.2 kB / 0.811 GB, free: 35.81 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009288/0.6772, allocations: 0.6817 MB / 0.8117 GB, free: 35.37 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.6772, allocations: 1.344 kB / 0.8117 GB, free: 35.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001795/0.679, allocations: 0.921 MB / 0.8126 GB, free: 34.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.679, allocations: 7.938 kB / 0.8126 GB, free: 34.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.6791, allocations: 5 kB / 0.8126 GB, free: 34.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008261/0.6799, allocations: 224.7 kB / 0.8128 GB, free: 34.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005358/0.6804, allocations: 116.8 kB / 0.8129 GB, free: 34.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004626/0.6851, allocations: 5.336 MB / 0.8181 GB, free: 30.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006082/0.6857, allocations: 31.2 kB / 0.8181 GB, free: 30.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.6858, allocations: 28.19 kB / 0.8182 GB, free: 30.24 MB / 0.6544 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.0003745/0.6861, allocations: 222.2 kB / 0.8184 GB, free: 30.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.764e-05/0.6863, allocations: 59.09 kB / 0.8184 GB, free: 30.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/0.6878, allocations: 0.7774 MB / 0.8192 GB, free: 29.7 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.6879, allocations: 7.359 kB / 0.8192 GB, free: 29.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6879, allocations: 2.594 kB / 0.8192 GB, free: 29.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.6879, allocations: 2.484 kB / 0.8192 GB, free: 29.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002575/0.6905, allocations: 1.498 MB / 0.8207 GB, free: 28.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.6905, allocations: 2.5 kB / 0.8207 GB, free: 28.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003723/0.6909, allocations: 70.56 kB / 0.8207 GB, free: 28.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006778/0.6915, allocations: 203.8 kB / 0.8209 GB, free: 28.85 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/0.6916, allocations: 10.73 kB / 0.8209 GB, free: 28.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004252/0.6959, allocations: 5.271 MB / 0.8261 GB, free: 24.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.6959, allocations: 2.609 kB / 0.8261 GB, free: 24.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.6978, allocations: 1.148 MB / 0.8272 GB, free: 23.62 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.6981, allocations: 168 kB / 0.8274 GB, free: 23.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.124e-05/0.6981, allocations: 17.86 kB / 0.8274 GB, free: 23.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.6985, allocations: 23.31 kB / 0.8274 GB, free: 23.46 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.6986, allocations: 30.73 kB / 0.8274 GB, free: 23.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.6986, allocations: 15 kB / 0.8274 GB, free: 23.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003749/0.699, allocations: 316.5 kB / 0.8278 GB, free: 23.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.699, allocations: 3.938 kB / 0.8278 GB, free: 23.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007872/0.6998, allocations: 166.2 kB / 0.8279 GB, free: 23.29 MB / 0.6544 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.0001794/0.7, allocations: 117.9 kB / 0.828 GB, free: 23.18 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001676/0.7017, allocations: 1.008 MB / 0.829 GB, free: 22.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.7017, allocations: 1.406 kB / 0.829 GB, free: 22.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008858/0.7026, allocations: 0.6806 MB / 0.8297 GB, free: 22.14 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009142/0.7035, allocations: 179.9 kB / 0.8298 GB, free: 22.1 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.7057, allocations: 1.308 MB / 0.8311 GB, free: 21.35 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005146/0.7062, allocations: 0.9464 MB / 0.832 GB, free: 20.62 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.7064, allocations: 43.95 kB / 0.8321 GB, free: 20.62 MB / 0.6544 GB Notification: Performance of SimCode: time 4.61e-07/0.7064, allocations: 0 / 0.8321 GB, free: 20.62 MB / 0.6544 GB Notification: Performance of Templates: time 0.02235/0.7287, allocations: 14.76 MB / 0.8465 GB, free: 16.48 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)