Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.69/1.69, allocations: 285.4 MB / 298 MB, free: 5.914 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.001245/0.001245, allocations: 184.8 kB / 366.4 MB, free: 2.082 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.571/1.571, allocations: 205.1 MB / 0.6248 GB, free: 7.742 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.0008275/0.0008275, allocations: 95.72 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.183e-05/3.192e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7162/0.7163, allocations: 115.3 MB / 0.9709 GB, free: 77.94 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2195/0.9358, allocations: 153.7 MB / 1.121 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003616/0.9362, allocations: 91.94 kB / 1.121 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.07199/1.008, allocations: 29.47 MB / 1.15 GB, free: 352 kB / 0.7448 GB Notification: Performance of FrontEnd: time 2.014e-06/1.008, allocations: 0 / 1.15 GB, free: 352 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.628e-05/1.008, allocations: 19.98 kB / 1.15 GB, free: 332 kB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001626/1.01, allocations: 0.7763 MB / 1.151 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/1.01, allocations: 8.031 kB / 1.151 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/1.012, allocations: 204.4 kB / 1.151 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009486/1.012, allocations: 488.3 kB / 1.151 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/1.013, allocations: 33 kB / 1.151 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/1.013, allocations: 47.97 kB / 1.151 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/1.014, allocations: 0.9128 MB / 1.152 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/1.014, allocations: 11.92 kB / 1.152 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.066e-05/1.014, allocations: 27.98 kB / 1.152 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.744e-05/1.014, allocations: 52.75 kB / 1.152 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008778/1.015, allocations: 0.5492 MB / 1.153 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004841/1.02, allocations: 5.665 MB / 1.158 GB, free: 6.91 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006665/1.021, allocations: 455.1 kB / 1.159 GB, free: 6.457 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/1.021, allocations: 221.3 kB / 1.159 GB, free: 6.238 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/1.021, allocations: 7.984 kB / 1.159 GB, free: 6.23 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/1.021, allocations: 34.56 kB / 1.159 GB, free: 6.188 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 2.504e-06/1.021, allocations: 0 / 1.159 GB, free: 6.188 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.001641/1.023, allocations: 0.8397 MB / 1.16 GB, free: 5.324 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/1.023, allocations: 59.36 kB / 1.16 GB, free: 5.254 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004982/1.023, allocations: 428.8 kB / 1.16 GB, free: 4.824 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/1.023, allocations: 33.7 kB / 1.16 GB, free: 4.785 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/1.024, allocations: 335.1 kB / 1.161 GB, free: 4.449 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/1.024, allocations: 122.3 kB / 1.161 GB, free: 4.328 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/1.024, allocations: 8 kB / 1.161 GB, free: 4.32 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.024, allocations: 366.8 kB / 1.161 GB, free: 3.953 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/1.024, allocations: 189.1 kB / 1.161 GB, free: 3.766 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/1.025, allocations: 402.1 kB / 1.162 GB, free: 3.273 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/1.025, allocations: 258.5 kB / 1.162 GB, free: 3.023 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/1.025, allocations: 0 / 1.162 GB, free: 3.023 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001252/1.026, allocations: 0.7623 MB / 1.163 GB, free: 2.238 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/1.026, allocations: 9.25 kB / 1.163 GB, free: 2.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/1.026, allocations: 8 kB / 1.163 GB, free: 2.223 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005/1.027, allocations: 156.7 kB / 1.163 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/1.027, allocations: 113.5 kB / 1.163 GB, free: 1.945 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003258/1.03, allocations: 4.04 MB / 1.167 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003869/1.031, allocations: 31.97 kB / 1.167 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/1.031, allocations: 28 kB / 1.167 GB, free: 13.45 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001422/1.031, allocations: 140.7 kB / 1.167 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/1.031, allocations: 59.25 kB / 1.167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/1.032, allocations: 0.5931 MB / 1.168 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.032, allocations: 4 kB / 1.168 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/1.032, allocations: 4 kB / 1.168 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.032, allocations: 0 / 1.168 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/1.034, allocations: 1.253 MB / 1.169 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/1.034, allocations: 4 kB / 1.169 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/1.034, allocations: 51.95 kB / 1.169 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003996/1.035, allocations: 144.3 kB / 1.169 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/1.035, allocations: 15.95 kB / 1.169 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003148/1.038, allocations: 4.012 MB / 1.173 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.615e-06/1.038, allocations: 8.516 kB / 1.173 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/1.039, allocations: 0.7821 MB / 1.174 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002514/1.039, allocations: 172.3 kB / 1.174 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.985e-05/1.04, allocations: 8 kB / 1.174 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/1.04, allocations: 19.97 kB / 1.174 GB, free: 5.539 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/1.04, allocations: 31.97 kB / 1.174 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/1.04, allocations: 12 kB / 1.174 GB, free: 5.496 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003812/1.04, allocations: 325.6 kB / 1.175 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.7e-07/1.04, allocations: 0 / 1.175 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006932/1.041, allocations: 140.6 kB / 1.175 GB, free: 5.043 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002261/1.041, allocations: 123.1 kB / 1.175 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001423/1.043, allocations: 1.005 MB / 1.176 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.043, allocations: 3.938 kB / 1.176 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0008469/1.044, allocations: 0.7269 MB / 1.176 GB, free: 3.016 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000942/1.044, allocations: 184.4 kB / 1.177 GB, free: 2.852 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/1.046, allocations: 0.7501 MB / 1.177 GB, free: 2.055 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005348/1.046, allocations: 0.918 MB / 1.178 GB, free: 1.109 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003859/1.047, allocations: 109.2 kB / 1.178 GB, free: 1 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.803e-05/1.047, allocations: 43.42 kB / 1.178 GB, free: 0.957 MB / 0.7761 GB Notification: Performance of SimCode: time 3.8e-07/1.047, allocations: 0 / 1.178 GB, free: 0.957 MB / 0.7761 GB Notification: Performance of Templates: time 0.01396/1.061, allocations: 7.042 MB / 1.185 GB, free: 10.08 MB / 0.7917 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)