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.628/1.628, allocations: 288.4 MB / 304.3 MB, free: 8.137 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.0009911/0.0009908, allocations: 176.5 kB / 373 MB, free: 10.17 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.612/1.612, allocations: 205.4 MB / 0.6317 GB, free: 9.914 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008947/0.0008945, allocations: 96.11 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004198/0.00042, allocations: 15.81 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2501, allocations: 115.3 MB / 0.9807 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8254/1.076, allocations: 153.9 MB / 1.131 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/1.076, allocations: 93.83 kB / 1.131 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06373/1.14, allocations: 29.64 MB / 1.16 GB, free: 17.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/1.14, allocations: 0 / 1.16 GB, free: 17.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.933e-05/1.14, allocations: 20 kB / 1.16 GB, free: 17.84 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001299/1.141, allocations: 0.8409 MB / 1.161 GB, free: 17 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/1.141, allocations: 12.03 kB / 1.161 GB, free: 16.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/1.143, allocations: 211.8 kB / 1.161 GB, free: 16.78 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006795/1.143, allocations: 491.3 kB / 1.162 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/1.143, allocations: 46.77 kB / 1.162 GB, free: 16.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.876e-05/1.143, allocations: 42.11 kB / 1.162 GB, free: 16.26 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/1.144, allocations: 0.9245 MB / 1.163 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/1.144, allocations: 12.03 kB / 1.163 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.957e-05/1.144, allocations: 30.36 kB / 1.163 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.55e-05/1.145, allocations: 51.59 kB / 1.163 GB, free: 15.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008483/1.145, allocations: 0.5671 MB / 1.163 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004987/1.15, allocations: 5.676 MB / 1.169 GB, free: 9.242 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006889/1.151, allocations: 444.8 kB / 1.169 GB, free: 8.934 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/1.151, allocations: 231.3 kB / 1.169 GB, free: 8.781 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/1.152, allocations: 4.531 kB / 1.169 GB, free: 8.777 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/1.152, allocations: 38.19 kB / 1.169 GB, free: 8.734 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 2.715e-06/1.152, allocations: 0 / 1.169 GB, free: 8.734 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.002683/1.154, allocations: 1.502 MB / 1.171 GB, free: 7.363 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/1.154, allocations: 59.34 kB / 1.171 GB, free: 7.293 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005261/1.155, allocations: 498.1 kB / 1.171 GB, free: 6.902 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/1.155, allocations: 33.39 kB / 1.171 GB, free: 6.867 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/1.155, allocations: 337.9 kB / 1.172 GB, free: 6.621 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/1.155, allocations: 119.5 kB / 1.172 GB, free: 6.523 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/1.155, allocations: 10.94 kB / 1.172 GB, free: 6.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.155, allocations: 363.8 kB / 1.172 GB, free: 6.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/1.156, allocations: 185.1 kB / 1.172 GB, free: 6.055 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000458/1.156, allocations: 414.6 kB / 1.173 GB, free: 5.625 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007641/1.157, allocations: 0.6414 MB / 1.173 GB, free: 5.051 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.157, allocations: 0 / 1.173 GB, free: 5.051 MB / 0.698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001231/1.158, allocations: 0.7792 MB / 1.174 GB, free: 4.434 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/1.158, allocations: 8 kB / 1.174 GB, free: 4.426 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/1.158, allocations: 8 kB / 1.174 GB, free: 4.418 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005091/1.159, allocations: 155.9 kB / 1.174 GB, free: 4.273 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005068/1.159, allocations: 110.9 kB / 1.174 GB, free: 4.168 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003299/1.163, allocations: 4.035 MB / 1.178 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/1.163, allocations: 41.34 kB / 1.178 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.506e-05/1.163, allocations: 23.06 kB / 1.178 GB, free: 15.86 MB / 0.7136 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 () * Number of clocked 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.0004824/1.164, allocations: 209.8 kB / 1.179 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/1.164, allocations: 63.19 kB / 1.179 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/1.165, allocations: 0.5934 MB / 1.179 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/1.165, allocations: 7.938 kB / 1.179 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/1.165, allocations: 4 kB / 1.179 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/1.165, allocations: 0 / 1.179 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/1.167, allocations: 1.258 MB / 1.181 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/1.167, allocations: 0 / 1.181 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/1.167, allocations: 59.83 kB / 1.181 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004656/1.168, allocations: 151.9 kB / 1.181 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/1.168, allocations: 10.06 kB / 1.181 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003499/1.171, allocations: 4.027 MB / 1.185 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.171, allocations: 4 kB / 1.185 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/1.172, allocations: 0.7128 MB / 1.185 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002678/1.173, allocations: 161.3 kB / 1.186 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.883e-05/1.173, allocations: 11.38 kB / 1.186 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/1.173, allocations: 22.72 kB / 1.186 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.882e-05/1.173, allocations: 39.08 kB / 1.186 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/1.173, allocations: 11.12 kB / 1.186 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003908/1.174, allocations: 326.4 kB / 1.186 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.81e-07/1.174, allocations: 0 / 1.186 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007014/1.174, allocations: 149.6 kB / 1.186 GB, free: 8.398 MB / 0.7136 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 () * Number of clocked 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.0001894/1.175, allocations: 116.8 kB / 1.186 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001459/1.176, allocations: 1.014 MB / 1.187 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.176, allocations: 0 / 1.187 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008671/1.177, allocations: 0.733 MB / 1.188 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/1.178, allocations: 189.2 kB / 1.188 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/1.18, allocations: 1.215 MB / 1.189 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/1.18, allocations: 0.9025 MB / 1.19 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003879/1.181, allocations: 121.1 kB / 1.19 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.427e-05/1.181, allocations: 39.44 kB / 1.19 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of SimCode: time 5.91e-07/1.181, allocations: 0 / 1.19 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of Templates: time 0.01427/1.195, allocations: 7.153 MB / 1.197 GB, free: 13.12 MB / 0.7292 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)