Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 292.6 MB / 307.5 MB, free: 5.078 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.001401/0.001401, allocations: 178.1 kB / 377.1 MB, free: 1.438 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.69/1.69, allocations: 205.4 MB / 0.6367 GB, free: 8.59 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.0009115/0.0009114, allocations: 89.27 kB / 0.751 GB, free: 62.88 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005199/0.0005199, allocations: 12 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2817, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7463/1.028, allocations: 154.8 MB / 1.14 GB, free: 23.12 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/1.028, allocations: 100.7 kB / 1.14 GB, free: 23.04 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.06913/1.098, allocations: 29.64 MB / 1.169 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.824e-06/1.098, allocations: 0 / 1.169 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.643e-05/1.098, allocations: 27.92 kB / 1.169 GB, free: 13.9 MB / 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.001991/1.1, allocations: 0.8541 MB / 1.169 GB, free: 13 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.1, allocations: 8.031 kB / 1.169 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/1.101, allocations: 205 kB / 1.17 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/1.102, allocations: 484.3 kB / 1.17 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.347e-05/1.102, allocations: 33 kB / 1.17 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/1.103, allocations: 47.42 kB / 1.17 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/1.104, allocations: 0.9261 MB / 1.171 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/1.104, allocations: 3.938 kB / 1.171 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.282e-05/1.104, allocations: 35.98 kB / 1.171 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.531e-05/1.104, allocations: 48.97 kB / 1.171 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009941/1.105, allocations: 0.5668 MB / 1.172 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007536/1.113, allocations: 5.662 MB / 1.177 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/1.114, allocations: 450.3 kB / 1.178 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/1.114, allocations: 6.656 kB / 1.178 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/1.114, allocations: 34.56 kB / 1.178 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=32): time 3.226e-06/1.114, allocations: 0 / 1.178 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.00421/1.118, allocations: 1.512 MB / 1.179 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/1.118, allocations: 59.36 kB / 1.179 GB, free: 2.199 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000879/1.119, allocations: 426.2 kB / 1.18 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.776e-05/1.119, allocations: 29.7 kB / 1.18 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003479/1.12, allocations: 339 kB / 1.18 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/1.12, allocations: 118.4 kB / 1.18 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/1.12, allocations: 12 kB / 1.18 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002658/1.12, allocations: 370.8 kB / 1.18 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004589/1.121, allocations: 189 kB / 1.181 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006745/1.121, allocations: 401.8 kB / 1.181 GB, free: 236 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/1.122, allocations: 255.8 kB / 1.181 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/1.122, allocations: 4 kB / 1.181 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002016/1.124, allocations: 0.7747 MB / 1.182 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/1.124, allocations: 8 kB / 1.182 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/1.124, allocations: 8.062 kB / 1.182 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007706/1.125, allocations: 160.1 kB / 1.182 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006608/1.126, allocations: 111.8 kB / 1.182 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00469/1.13, allocations: 4.063 MB / 1.186 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007416/1.131, allocations: 33.72 kB / 1.186 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.832e-05/1.131, allocations: 24 kB / 1.186 GB, free: 10.36 MB / 0.7605 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.0005452/1.132, allocations: 209.9 kB / 1.187 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/1.132, allocations: 59.25 kB / 1.187 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/1.134, allocations: 0.597 MB / 1.187 GB, free: 9.469 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/1.134, allocations: 4 kB / 1.187 GB, free: 9.465 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.951e-05/1.134, allocations: 0 / 1.187 GB, free: 9.465 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/1.134, allocations: 7.828 kB / 1.187 GB, free: 9.461 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/1.137, allocations: 1.258 MB / 1.188 GB, free: 8.109 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.137, allocations: 4 kB / 1.188 GB, free: 8.105 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003924/1.138, allocations: 55.89 kB / 1.188 GB, free: 8.051 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006334/1.138, allocations: 140.2 kB / 1.189 GB, free: 7.898 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-05/1.138, allocations: 12.12 kB / 1.189 GB, free: 7.887 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004551/1.143, allocations: 4.057 MB / 1.193 GB, free: 3.445 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/1.143, allocations: 4 kB / 1.193 GB, free: 3.441 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/1.145, allocations: 0.7896 MB / 1.193 GB, free: 2.559 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004415/1.145, allocations: 168.4 kB / 1.194 GB, free: 2.375 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/1.145, allocations: 12 kB / 1.194 GB, free: 2.363 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/1.146, allocations: 23.97 kB / 1.194 GB, free: 2.34 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/1.146, allocations: 31.89 kB / 1.194 GB, free: 2.309 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/1.146, allocations: 12 kB / 1.194 GB, free: 2.297 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0006293/1.147, allocations: 326.9 kB / 1.194 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.61e-07/1.147, allocations: 0 / 1.194 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001137/1.148, allocations: 147.9 kB / 1.194 GB, free: 1.836 MB / 0.7605 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.0002373/1.148, allocations: 119.2 kB / 1.194 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002054/1.15, allocations: 1.009 MB / 1.195 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.15, allocations: 4 kB / 1.195 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/1.151, allocations: 0.7313 MB / 1.196 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/1.153, allocations: 184.6 kB / 1.196 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/1.155, allocations: 1.225 MB / 1.197 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007943/1.156, allocations: 0.9102 MB / 1.198 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0006246/1.157, allocations: 114.9 kB / 1.198 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/1.157, allocations: 43.44 kB / 1.198 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of SimCode: time 8.11e-07/1.157, allocations: 0 / 1.198 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of Templates: time 0.02104/1.178, allocations: 7.035 MB / 1.205 GB, free: 6.34 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)