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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.175/2.175, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.001346/0.001346, allocations: 167.2 kB / 326.2 MB, free: 2.852 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.347/2.347, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.0009099/0.0009097, allocations: 92.36 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006381/0.0006382, allocations: 11.78 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2168, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2627/0.4796, allocations: 153.6 MB / 1.05 GB, free: 7.715 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004053/0.48, allocations: 103.9 kB / 1.05 GB, free: 7.613 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7561/1.236, allocations: 36.75 MB / 1.085 GB, free: 146.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.665e-06/1.236, allocations: 0 / 1.085 GB, free: 146.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.348e-05/1.236, allocations: 24.05 kB / 1.086 GB, free: 146.7 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.002628/1.239, allocations: 1.039 MB / 1.087 GB, free: 146 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.239, allocations: 14.19 kB / 1.087 GB, free: 146 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002565/1.242, allocations: 233.8 kB / 1.087 GB, free: 145.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/1.243, allocations: 0.5396 MB / 1.087 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.134e-05/1.243, allocations: 41.97 kB / 1.087 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/1.243, allocations: 69.12 kB / 1.087 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/1.246, allocations: 1.148 MB / 1.089 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/1.246, allocations: 7.719 kB / 1.089 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/1.246, allocations: 35.75 kB / 1.089 GB, free: 144.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/1.246, allocations: 52.09 kB / 1.089 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/1.248, allocations: 0.7517 MB / 1.089 GB, free: 144.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00803/1.256, allocations: 5.909 MB / 1.095 GB, free: 138.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/1.258, allocations: 0.5603 MB / 1.096 GB, free: 138.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007325/1.258, allocations: 326 kB / 1.096 GB, free: 138 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.627e-05/1.258, allocations: 12.44 kB / 1.096 GB, free: 138 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/1.258, allocations: 39 kB / 1.096 GB, free: 137.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 3.206e-06/1.258, allocations: 0 / 1.096 GB, free: 137.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.006154/1.265, allocations: 1.975 MB / 1.098 GB, free: 135.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/1.265, allocations: 67.78 kB / 1.098 GB, free: 135.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008468/1.266, allocations: 0.5508 MB / 1.099 GB, free: 135.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-05/1.266, allocations: 33.7 kB / 1.099 GB, free: 135.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/1.266, allocations: 399.1 kB / 1.099 GB, free: 134.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/1.266, allocations: 173.5 kB / 1.099 GB, free: 134.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/1.266, allocations: 8 kB / 1.099 GB, free: 134.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.266, allocations: 378.7 kB / 1.099 GB, free: 134.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000623/1.267, allocations: 269.2 kB / 1.1 GB, free: 134 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007032/1.268, allocations: 470.7 kB / 1.1 GB, free: 133.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000757/1.269, allocations: 338 kB / 1.101 GB, free: 133.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/1.269, allocations: 4 kB / 1.101 GB, free: 133.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002848/1.271, allocations: 1.056 MB / 1.102 GB, free: 132 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/1.271, allocations: 13.59 kB / 1.102 GB, free: 132 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/1.271, allocations: 4 kB / 1.102 GB, free: 132 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/1.273, allocations: 279.2 kB / 1.102 GB, free: 131.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009325/1.274, allocations: 119.8 kB / 1.102 GB, free: 131.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007812/1.282, allocations: 6.583 MB / 1.108 GB, free: 124.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/1.283, allocations: 43.95 kB / 1.108 GB, free: 124.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.891e-05/1.283, allocations: 24 kB / 1.108 GB, free: 124.4 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.0005954/1.284, allocations: 253.6 kB / 1.109 GB, free: 124.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/1.284, allocations: 71.16 kB / 1.109 GB, free: 124.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/1.286, allocations: 0.8923 MB / 1.11 GB, free: 123.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/1.286, allocations: 4 kB / 1.11 GB, free: 123.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.286, allocations: 4 kB / 1.11 GB, free: 123.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/1.286, allocations: 3.984 kB / 1.11 GB, free: 123.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004144/1.291, allocations: 1.721 MB / 1.111 GB, free: 121.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/1.291, allocations: 0 / 1.111 GB, free: 121.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005413/1.291, allocations: 59.89 kB / 1.111 GB, free: 121.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001319/1.293, allocations: 271.5 kB / 1.112 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.073e-05/1.293, allocations: 8 kB / 1.112 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007633/1.3, allocations: 6.599 MB / 1.118 GB, free: 113.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/1.3, allocations: 0 / 1.118 GB, free: 113.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/1.303, allocations: 0.9796 MB / 1.119 GB, free: 112.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005765/1.303, allocations: 196.2 kB / 1.119 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/1.304, allocations: 11.94 kB / 1.119 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006535/1.304, allocations: 31.95 kB / 1.119 GB, free: 112.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/1.304, allocations: 43.95 kB / 1.119 GB, free: 112.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.603e-05/1.305, allocations: 8 kB / 1.119 GB, free: 112.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006012/1.305, allocations: 383.1 kB / 1.12 GB, free: 112.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.305, allocations: 0 / 1.12 GB, free: 112.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001213/1.306, allocations: 231.9 kB / 1.12 GB, free: 112 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.0002156/1.307, allocations: 123.2 kB / 1.12 GB, free: 111.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002832/1.309, allocations: 1.26 MB / 1.121 GB, free: 110.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.31, allocations: 4.125 kB / 1.121 GB, free: 110.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001893/1.311, allocations: 0.8857 MB / 1.122 GB, free: 109.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/1.313, allocations: 201.7 kB / 1.122 GB, free: 109.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/1.317, allocations: 1.574 MB / 1.124 GB, free: 107.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005804/1.317, allocations: 1.02 MB / 1.125 GB, free: 106.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007982/1.318, allocations: 122 kB / 1.125 GB, free: 106.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/1.318, allocations: 39.44 kB / 1.125 GB, free: 106.6 MB / 0.698 GB Notification: Performance of SimCode: time 9.82e-07/1.318, allocations: 4 kB / 1.125 GB, free: 106.6 MB / 0.698 GB Notification: Performance of Templates: time 0.02693/1.345, allocations: 10.32 MB / 1.135 GB, free: 96.39 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)