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.701/1.701, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.0009925/0.0009924, allocations: 180.8 kB / 366.7 MB, free: 1.652 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.681/1.681, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0009007/0.0009009, allocations: 104.4 kB / 0.7401 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.744e-05/1.718e-05, allocations: 8 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6655/0.6655, allocations: 116.3 MB / 0.9733 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2142/0.8798, allocations: 154.1 MB / 1.124 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003602/0.8802, allocations: 87.94 kB / 1.124 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.07168/0.9519, allocations: 29.35 MB / 1.152 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.613e-06/0.952, allocations: 0 / 1.152 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.069e-05/0.952, allocations: 23.94 kB / 1.152 GB, free: 14.5 MB / 0.7605 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.001549/0.9536, allocations: 0.7634 MB / 1.153 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.9537, allocations: 16.02 kB / 1.153 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/0.9551, allocations: 198.9 kB / 1.153 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000879/0.956, allocations: 494.5 kB / 1.154 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/0.9561, allocations: 12 kB / 1.154 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-05/0.9562, allocations: 24 kB / 1.154 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007241/0.9569, allocations: 418.5 kB / 1.154 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.958, allocations: 0.8554 MB / 1.155 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.9581, allocations: 7.938 kB / 1.155 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.726e-05/0.9581, allocations: 4 kB / 1.155 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-05/0.9582, allocations: 58.48 kB / 1.155 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004721/0.9629, allocations: 5.539 MB / 1.161 GB, free: 5.492 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000592/0.9636, allocations: 443 kB / 1.161 GB, free: 5.051 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.9638, allocations: 214.9 kB / 1.161 GB, free: 4.84 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.9639, allocations: 8 kB / 1.161 GB, free: 4.832 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.9639, allocations: 38.55 kB / 1.161 GB, free: 4.785 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 4.188e-06/0.9639, allocations: 3.984 kB / 1.161 GB, free: 4.781 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.001698/0.9656, allocations: 0.7973 MB / 1.162 GB, free: 3.961 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.9657, allocations: 55.41 kB / 1.162 GB, free: 3.895 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004353/0.9661, allocations: 345.3 kB / 1.162 GB, free: 3.547 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.9662, allocations: 33.7 kB / 1.163 GB, free: 3.508 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.9664, allocations: 347.5 kB / 1.163 GB, free: 3.164 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.9665, allocations: 118.3 kB / 1.163 GB, free: 3.047 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.836e-05/0.9666, allocations: 0 / 1.163 GB, free: 3.047 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.9667, allocations: 362.7 kB / 1.163 GB, free: 2.684 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.967, allocations: 169.1 kB / 1.163 GB, free: 2.52 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/0.9674, allocations: 396.7 kB / 1.164 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.9677, allocations: 236 kB / 1.164 GB, free: 1.801 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.9678, allocations: 0 / 1.164 GB, free: 1.801 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001214/0.969, allocations: 0.6923 MB / 1.165 GB, free: 1.086 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.969, allocations: 9.594 kB / 1.165 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.969, allocations: 4 kB / 1.165 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005008/0.9695, allocations: 152.6 kB / 1.165 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004459/0.97, allocations: 119.7 kB / 1.165 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003209/0.9732, allocations: 3.876 MB / 1.169 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004712/0.9737, allocations: 28.03 kB / 1.169 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/0.9738, allocations: 24 kB / 1.169 GB, free: 12.52 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.0001619/0.9739, allocations: 126.8 kB / 1.169 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.9741, allocations: 55.34 kB / 1.169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.9751, allocations: 0.5575 MB / 1.17 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.9751, allocations: 4 kB / 1.17 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.9751, allocations: 0 / 1.17 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.9751, allocations: 0 / 1.17 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.9769, allocations: 1.154 MB / 1.171 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.9769, allocations: 0 / 1.171 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.9772, allocations: 55.89 kB / 1.171 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004302/0.9776, allocations: 144.3 kB / 1.171 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.9777, allocations: 6.094 kB / 1.171 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/0.9804, allocations: 3.861 MB / 1.175 GB, free: 6.105 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.9804, allocations: 4.031 kB / 1.175 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009871/0.9814, allocations: 0.755 MB / 1.175 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002159/0.9817, allocations: 168.3 kB / 1.176 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.425e-05/0.9817, allocations: 4 kB / 1.176 GB, free: 5.062 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.982, allocations: 15.97 kB / 1.176 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.9821, allocations: 39.84 kB / 1.176 GB, free: 5.008 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/0.9821, allocations: 8 kB / 1.176 GB, free: 5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003226/0.9825, allocations: 267 kB / 1.176 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9825, allocations: 0 / 1.176 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007945/0.9833, allocations: 124 kB / 1.176 GB, free: 4.621 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.0002136/0.9835, allocations: 107.2 kB / 1.176 GB, free: 4.508 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001535/0.985, allocations: 0.9518 MB / 1.177 GB, free: 3.484 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.9851, allocations: 0 / 1.177 GB, free: 3.484 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0009778/0.986, allocations: 0.7164 MB / 1.178 GB, free: 2.695 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008577/0.9869, allocations: 164.9 kB / 1.178 GB, free: 2.543 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.9882, allocations: 0.7224 MB / 1.179 GB, free: 1.773 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/0.9887, allocations: 0.9139 MB / 1.179 GB, free: 0.832 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003626/0.9891, allocations: 114.8 kB / 1.18 GB, free: 0.7227 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.124e-05/0.9892, allocations: 31.44 kB / 1.18 GB, free: 0.6914 MB / 0.7761 GB Notification: Performance of SimCode: time 2.6e-07/0.9892, allocations: 0 / 1.18 GB, free: 0.6914 MB / 0.7761 GB Notification: Performance of Templates: time 0.01234/1.002, allocations: 6.362 MB / 1.186 GB, free: 10.48 MB / 0.7917 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)