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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 194.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.822/1.822, allocations: 292.2 MB / 0.5485 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00157/0.001571, allocations: 73.47 kB / 0.671 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3489, allocations: 114.5 MB / 0.7829 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007411/0.3564, allocations: 4.882 MB / 0.7876 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004736/0.3612, allocations: 2.48 MB / 0.79 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004839/0.3617, allocations: 23.81 kB / 0.7901 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.363, allocations: 358.5 kB / 0.7904 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.364, allocations: 418 kB / 0.7908 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009472/0.365, allocations: 342.2 kB / 0.7911 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001061/0.366, allocations: 0.9173 MB / 0.792 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006985/0.3667, allocations: 394.5 kB / 0.7924 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004875/0.3672, allocations: 342.5 kB / 0.7927 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004723/0.3677, allocations: 362.5 kB / 0.7931 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.485e-05/0.3678, allocations: 36 kB / 0.7931 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007614/0.3686, allocations: 407.1 kB / 0.7935 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001951/0.3688, allocations: 179.5 kB / 0.7937 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002965/0.3691, allocations: 314.2 kB / 0.794 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.3702, allocations: 0.907 MB / 0.7949 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.3702, allocations: 3.938 kB / 0.7949 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.076e-06/0.3702, allocations: 3.938 kB / 0.7949 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.3702, allocations: 0 / 0.7949 GB, free: 1.523 MB / 0.6075 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.001671/0.3719, allocations: 0.9386 MB / 0.7958 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.372, allocations: 8.031 kB / 0.7958 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.3733, allocations: 203.9 kB / 0.796 GB, free: 332 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006801/0.3739, allocations: 494.3 kB / 0.7965 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.374, allocations: 37.28 kB / 0.7965 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.646e-05/0.3741, allocations: 40.38 kB / 0.7965 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.3752, allocations: 0.8485 MB / 0.7974 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.3752, allocations: 7.938 kB / 0.7974 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.253e-05/0.3753, allocations: 23.98 kB / 0.7974 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.261e-05/0.3754, allocations: 64.95 kB / 0.7975 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008032/0.3762, allocations: 0.5734 MB / 0.798 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00521/0.3814, allocations: 5.654 MB / 0.8035 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007163/0.3822, allocations: 461.1 kB / 0.804 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.3825, allocations: 224.7 kB / 0.8042 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.3826, allocations: 4 kB / 0.8042 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/0.3826, allocations: 38.56 kB / 0.8042 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 4.248e-06/0.3826, allocations: 0 / 0.8042 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002966/0.3856, allocations: 1.509 MB / 0.8057 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.3857, allocations: 55.41 kB / 0.8058 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005433/0.3862, allocations: 499 kB / 0.8062 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.3863, allocations: 33.7 kB / 0.8063 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.3865, allocations: 358.8 kB / 0.8066 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.3867, allocations: 118.3 kB / 0.8067 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.3868, allocations: 110.2 kB / 0.8068 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.387, allocations: 366.8 kB / 0.8072 GB, free: 4.109 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.3873, allocations: 193.2 kB / 0.8074 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004113/0.3877, allocations: 451 kB / 0.8078 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007783/0.3885, allocations: 0.6808 MB / 0.8085 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3885, allocations: 4 kB / 0.8085 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001215/0.3897, allocations: 0.8055 MB / 0.8092 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.3897, allocations: 18.75 kB / 0.8093 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.3898, allocations: 8 kB / 0.8093 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005159/0.3903, allocations: 164.5 kB / 0.8094 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.3907, allocations: 123.8 kB / 0.8095 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003426/0.3942, allocations: 4.336 MB / 0.8138 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/0.3946, allocations: 32.12 kB / 0.8138 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.3947, allocations: 32 kB / 0.8138 GB, free: 12.6 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002653/0.3949, allocations: 219.1 kB / 0.814 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.882e-05/0.395, allocations: 59.25 kB / 0.8141 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009974/0.396, allocations: 0.6045 MB / 0.8147 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.3961, allocations: 11.92 kB / 0.8147 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3961, allocations: 0 / 0.8147 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.3961, allocations: 3.984 kB / 0.8147 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.398, allocations: 1.261 MB / 0.8159 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.398, allocations: 0 / 0.8159 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.3982, allocations: 51.95 kB / 0.816 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004124/0.3986, allocations: 148.3 kB / 0.8161 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.3987, allocations: 11.94 kB / 0.8161 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0038/0.4025, allocations: 4.329 MB / 0.8204 GB, free: 5.344 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.4025, allocations: 12.12 kB / 0.8204 GB, free: 5.332 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.4037, allocations: 0.7004 MB / 0.8211 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/0.404, allocations: 172.2 kB / 0.8212 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.771e-05/0.4041, allocations: 8 kB / 0.8212 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.4043, allocations: 23.97 kB / 0.8213 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.933e-05/0.4045, allocations: 39.89 kB / 0.8213 GB, free: 4.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.4045, allocations: 8 kB / 0.8213 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004091/0.4049, allocations: 330.9 kB / 0.8216 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4049, allocations: 0 / 0.8216 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007404/0.4057, allocations: 144 kB / 0.8218 GB, free: 3.852 MB / 0.6387 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002308/0.4059, allocations: 115.1 kB / 0.8219 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001723/0.4076, allocations: 1.08 MB / 0.8229 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.4076, allocations: 0 / 0.8229 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000967/0.4086, allocations: 0.7424 MB / 0.8236 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.4097, allocations: 205.2 kB / 0.8238 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.4117, allocations: 1.238 MB / 0.8251 GB, free: 268 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006159/0.4123, allocations: 0.9059 MB / 0.8259 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003995/0.4127, allocations: 121.3 kB / 0.8261 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.4128, allocations: 39.44 kB / 0.8261 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of SimCode: time 1.583e-06/0.4129, allocations: 0 / 0.8261 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of Templates: time 0.01512/0.428, allocations: 7.65 MB / 0.8336 GB, free: 7.609 MB / 0.6544 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)