Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.59/1.59, allocations: 297.8 MB / 313.7 MB, free: 176 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009308/0.0009307, allocations: 176.5 kB / 384.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.2 MB / 0.6626 GB, free: 4.355 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007641/0.0007641, allocations: 97.3 kB / 0.7808 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004362, allocations: 12 kB / 0.9088 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6109/0.6114, allocations: 120.3 MB / 1.026 GB, free: 55.95 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1788/0.7902, allocations: 157.3 MB / 1.18 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/0.7905, allocations: 91.94 kB / 1.18 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.07216/0.8627, allocations: 32.42 MB / 1.212 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8628, allocations: 0 / 1.212 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.882e-05/0.8628, allocations: 16 kB / 1.212 GB, free: 4.113 MB / 0.7761 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.001209/0.864, allocations: 0.8357 MB / 1.212 GB, free: 3.223 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.8641, allocations: 16.03 kB / 1.212 GB, free: 3.207 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.8652, allocations: 207.8 kB / 1.213 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006587/0.8659, allocations: 493.4 kB / 1.213 GB, free: 2.484 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.866, allocations: 37.36 kB / 1.213 GB, free: 2.445 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.537e-05/0.866, allocations: 40.38 kB / 1.213 GB, free: 2.406 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.8671, allocations: 0.9312 MB / 1.214 GB, free: 1.301 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.8671, allocations: 4.125 kB / 1.214 GB, free: 1.297 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.912e-05/0.8672, allocations: 31.92 kB / 1.214 GB, free: 1.266 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.826e-05/0.8673, allocations: 52.97 kB / 1.214 GB, free: 1.215 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000771/0.8681, allocations: 0.5707 MB / 1.215 GB, free: 0.6445 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0043/0.8724, allocations: 5.67 MB / 1.22 GB, free: 10.58 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006323/0.873, allocations: 458.8 kB / 1.221 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002902/0.8733, allocations: 225.3 kB / 1.221 GB, free: 9.902 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.8734, allocations: 4 kB / 1.221 GB, free: 9.898 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.8734, allocations: 38.56 kB / 1.221 GB, free: 9.852 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=32): time 2.725e-06/0.8734, allocations: 0 / 1.221 GB, free: 9.852 MB / 0.7917 GB Notification: Performance of matching and sorting (n=33): time 0.002391/0.8758, allocations: 1.51 MB / 1.222 GB, free: 8.227 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.8758, allocations: 59.34 kB / 1.223 GB, free: 8.156 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/0.8763, allocations: 491 kB / 1.223 GB, free: 7.668 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.8764, allocations: 33.7 kB / 1.223 GB, free: 7.629 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.8766, allocations: 343 kB / 1.223 GB, free: 7.289 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 9.285e-05/0.8767, allocations: 118.4 kB / 1.223 GB, free: 7.172 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/0.8767, allocations: 8 kB / 1.224 GB, free: 7.164 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.8769, allocations: 367.4 kB / 1.224 GB, free: 6.797 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.8771, allocations: 189 kB / 1.224 GB, free: 6.609 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/0.8776, allocations: 409.8 kB / 1.224 GB, free: 6.113 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007945/0.8784, allocations: 0.6461 MB / 1.225 GB, free: 5.367 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.8784, allocations: 4 kB / 1.225 GB, free: 5.363 MB / 0.7917 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001139/0.8795, allocations: 0.7777 MB / 1.226 GB, free: 4.562 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.8796, allocations: 8 kB / 1.226 GB, free: 4.555 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.8796, allocations: 10.59 kB / 1.226 GB, free: 4.547 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004405/0.88, allocations: 152.1 kB / 1.226 GB, free: 4.383 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/0.8804, allocations: 111.8 kB / 1.226 GB, free: 4.273 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002999/0.8834, allocations: 4.031 MB / 1.23 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.8838, allocations: 35.91 kB / 1.23 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.8838, allocations: 24.62 kB / 1.23 GB, free: 15.79 MB / 0.8073 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.0002634/0.8841, allocations: 209.7 kB / 1.23 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.058e-05/0.8842, allocations: 64.47 kB / 1.23 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009698/0.8851, allocations: 0.589 MB / 1.231 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.8851, allocations: 4 kB / 1.231 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.8852, allocations: 4 kB / 1.231 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.8852, allocations: 0.5 kB / 1.231 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.8869, allocations: 1.257 MB / 1.232 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.8869, allocations: 224 / 1.232 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.8871, allocations: 68.58 kB / 1.232 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003557/0.8875, allocations: 136.2 kB / 1.232 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.8875, allocations: 12 kB / 1.232 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002822/0.8904, allocations: 4.025 MB / 1.236 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.8904, allocations: 8.016 kB / 1.236 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008923/0.8913, allocations: 0.7115 MB / 1.237 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.8915, allocations: 165.2 kB / 1.237 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.673e-05/0.8915, allocations: 11.94 kB / 1.237 GB, free: 7.922 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.8918, allocations: 19.97 kB / 1.237 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.8918, allocations: 31.95 kB / 1.237 GB, free: 7.871 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.8919, allocations: 13.88 kB / 1.237 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003229/0.8922, allocations: 326.9 kB / 1.238 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8922, allocations: 0 / 1.238 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005571/0.8928, allocations: 151.9 kB / 1.238 GB, free: 7.395 MB / 0.8073 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.0001681/0.8929, allocations: 115.1 kB / 1.238 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.8942, allocations: 1.014 MB / 1.239 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8942, allocations: 0 / 1.239 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0007647/0.895, allocations: 0.7381 MB / 1.24 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009791/0.896, allocations: 188.1 kB / 1.24 GB, free: 5.18 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.8975, allocations: 1.216 MB / 1.241 GB, free: 3.91 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.898, allocations: 0.9019 MB / 1.242 GB, free: 2.98 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003333/0.8983, allocations: 116.6 kB / 1.242 GB, free: 2.871 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.028e-05/0.8984, allocations: 39.44 kB / 1.242 GB, free: 2.832 MB / 0.8073 GB Notification: Performance of SimCode: time 2.61e-07/0.8985, allocations: 4 kB / 1.242 GB, free: 2.828 MB / 0.8073 GB Notification: Performance of Templates: time 0.01242/0.9109, allocations: 7.154 MB / 1.249 GB, free: 11.85 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)