Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.324/1.324, allocations: 252 MB / 267.9 MB, free: 10.91 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.0009439/0.0009439, allocations: 182.9 kB / 327.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.4 MB / 0.5785 GB, free: 20.5 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.0007387/0.0007387, allocations: 90.58 kB / 0.6831 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003503, allocations: 14.97 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.181, allocations: 106.3 MB / 0.9012 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1659/0.3469, allocations: 153.8 MB / 1.051 GB, free: 6.008 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.3473, allocations: 95.94 kB / 1.052 GB, free: 5.914 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4395/0.7867, allocations: 36.77 MB / 1.087 GB, free: 145.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7868, allocations: 0 / 1.087 GB, free: 145.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.955e-05/0.7869, allocations: 28.91 kB / 1.087 GB, free: 145.6 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001946/0.7888, allocations: 1.025 MB / 1.088 GB, free: 144.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.7889, allocations: 7.844 kB / 1.088 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.7904, allocations: 240.2 kB / 1.089 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009199/0.7914, allocations: 0.5545 MB / 1.089 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.7914, allocations: 49.72 kB / 1.089 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.7915, allocations: 67.03 kB / 1.089 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.7929, allocations: 1.142 MB / 1.09 GB, free: 143.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/0.793, allocations: 11.69 kB / 1.09 GB, free: 143.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.081e-05/0.7931, allocations: 31.59 kB / 1.091 GB, free: 143.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.296e-05/0.7931, allocations: 52.78 kB / 1.091 GB, free: 143.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.7942, allocations: 0.7452 MB / 1.091 GB, free: 143 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004388/0.7986, allocations: 5.921 MB / 1.097 GB, free: 136.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007948/0.7994, allocations: 0.5517 MB / 1.098 GB, free: 136.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003537/0.7998, allocations: 330 kB / 1.098 GB, free: 135.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.7998, allocations: 8.375 kB / 1.098 GB, free: 135.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.7999, allocations: 43 kB / 1.098 GB, free: 135.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 3.076e-06/0.7999, allocations: 0 / 1.098 GB, free: 135.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.003251/0.8031, allocations: 1.99 MB / 1.1 GB, free: 133.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.8032, allocations: 59.84 kB / 1.1 GB, free: 133.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005375/0.8037, allocations: 0.5469 MB / 1.101 GB, free: 133 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.8038, allocations: 33.7 kB / 1.101 GB, free: 133 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.804, allocations: 403.1 kB / 1.101 GB, free: 132.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.8041, allocations: 165.6 kB / 1.101 GB, free: 132.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.8042, allocations: 12 kB / 1.101 GB, free: 132.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.052e-05/0.8043, allocations: 382.7 kB / 1.101 GB, free: 132 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.8046, allocations: 269.2 kB / 1.102 GB, free: 131.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000384/0.805, allocations: 462.8 kB / 1.102 GB, free: 131.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007956/0.8058, allocations: 0.7787 MB / 1.103 GB, free: 130.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.8058, allocations: 0 / 1.103 GB, free: 130.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001515/0.8073, allocations: 1.055 MB / 1.104 GB, free: 129.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.8074, allocations: 10.5 kB / 1.104 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.8074, allocations: 8.75 kB / 1.104 GB, free: 129.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007478/0.8081, allocations: 279.2 kB / 1.104 GB, free: 129 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/0.8086, allocations: 119.8 kB / 1.104 GB, free: 128.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004999/0.8136, allocations: 6.599 MB / 1.111 GB, free: 121.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006759/0.8143, allocations: 31.97 kB / 1.111 GB, free: 121.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.248e-05/0.8144, allocations: 24 kB / 1.111 GB, free: 121.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005143/0.8149, allocations: 253.6 kB / 1.111 GB, free: 121.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.8151, allocations: 71.25 kB / 1.111 GB, free: 121.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/0.8166, allocations: 0.8923 MB / 1.112 GB, free: 120.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.8166, allocations: 4 kB / 1.112 GB, free: 120.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.8166, allocations: 4 kB / 1.112 GB, free: 120.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.8166, allocations: 7.984 kB / 1.112 GB, free: 120.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002575/0.8192, allocations: 1.713 MB / 1.114 GB, free: 118.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.8192, allocations: 0 / 1.114 GB, free: 118.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.8195, allocations: 63.88 kB / 1.114 GB, free: 118.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006824/0.8202, allocations: 275.5 kB / 1.114 GB, free: 118.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/0.8202, allocations: 11.94 kB / 1.114 GB, free: 118.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004781/0.825, allocations: 6.575 MB / 1.12 GB, free: 111.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.825, allocations: 4.219 kB / 1.12 GB, free: 111.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.8264, allocations: 0.9834 MB / 1.121 GB, free: 110.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003657/0.8268, allocations: 192.2 kB / 1.122 GB, free: 109.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.8269, allocations: 19.92 kB / 1.122 GB, free: 109.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/0.8273, allocations: 23.97 kB / 1.122 GB, free: 109.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.53e-05/0.8274, allocations: 43.95 kB / 1.122 GB, free: 109.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.8275, allocations: 19.98 kB / 1.122 GB, free: 109.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003759/0.8278, allocations: 379.1 kB / 1.122 GB, free: 109.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8278, allocations: 0 / 1.122 GB, free: 109.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008619/0.8287, allocations: 231.9 kB / 1.122 GB, free: 109.2 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001907/0.8289, allocations: 119.2 kB / 1.122 GB, free: 109.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001652/0.8306, allocations: 1.26 MB / 1.124 GB, free: 107.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.8306, allocations: 4 kB / 1.124 GB, free: 107.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009532/0.8316, allocations: 0.8937 MB / 1.125 GB, free: 106.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.8326, allocations: 201.8 kB / 1.125 GB, free: 106.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.8347, allocations: 1.588 MB / 1.126 GB, free: 105 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/0.8352, allocations: 1.009 MB / 1.127 GB, free: 103.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004641/0.8357, allocations: 113.9 kB / 1.127 GB, free: 103.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.8358, allocations: 39.44 kB / 1.127 GB, free: 103.8 MB / 0.698 GB Notification: Performance of SimCode: time 9.42e-07/0.8358, allocations: 0 / 1.127 GB, free: 103.8 MB / 0.698 GB Notification: Performance of Templates: time 0.01602/0.8518, allocations: 10.46 MB / 1.138 GB, free: 93.46 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)