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.00148/0.00148, allocations: 114.7 kB / 16.37 MB, free: 5.539 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.001609/0.001609, allocations: 188.9 kB / 17.31 MB, free: 5.184 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.335/1.335, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.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.819/1.819, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001428/0.001428, allocations: 67.91 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2419, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.3874/0.6294, allocations: 4.855 MB / 0.7895 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003364/0.6328, allocations: 2.493 MB / 0.792 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002968/0.6331, allocations: 26.06 kB / 0.792 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.6342, allocations: 408.8 kB / 0.7924 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0008317/0.635, allocations: 436.5 kB / 0.7928 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000702/0.6357, allocations: 374.9 kB / 0.7932 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007025/0.6364, allocations: 0.9161 MB / 0.7941 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004366/0.6369, allocations: 346.5 kB / 0.7944 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003333/0.6372, allocations: 346.5 kB / 0.7947 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003734/0.6376, allocations: 340.8 kB / 0.795 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.414e-05/0.6377, allocations: 38.12 kB / 0.7951 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005886/0.6383, allocations: 411 kB / 0.7955 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.6384, allocations: 181.5 kB / 0.7956 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.6387, allocations: 321.3 kB / 0.796 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000724/0.6394, allocations: 0.8834 MB / 0.7968 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.6394, allocations: 0 / 0.7968 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6394, allocations: 0 / 0.7968 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.6394, allocations: 0 / 0.7968 GB, free: 44.89 MB / 0.6544 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.00119/0.6406, allocations: 0.9334 MB / 0.7977 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.6407, allocations: 10.34 kB / 0.7977 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.6419, allocations: 199.7 kB / 0.7979 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006963/0.6426, allocations: 0.5331 MB / 0.7984 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.6427, allocations: 30 kB / 0.7985 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.565e-05/0.6427, allocations: 49.95 kB / 0.7985 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000929/0.6437, allocations: 0.8541 MB / 0.7994 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.6437, allocations: 14.5 kB / 0.7994 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.786e-05/0.6438, allocations: 23.61 kB / 0.7994 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.865e-05/0.6439, allocations: 67.78 kB / 0.7995 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007687/0.6446, allocations: 0.5629 MB / 0.8 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003302/0.648, allocations: 5.651 MB / 0.8055 GB, free: 38.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00065/0.6486, allocations: 447.1 kB / 0.806 GB, free: 38.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003409/0.649, allocations: 228.2 kB / 0.8062 GB, free: 37.96 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.446e-05/0.649, allocations: 4.312 kB / 0.8062 GB, free: 37.96 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.649, allocations: 32.62 kB / 0.8062 GB, free: 37.92 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=32): time 2.484e-06/0.6491, allocations: 5.75 kB / 0.8062 GB, free: 37.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33): time 0.003029/0.6521, allocations: 1.506 MB / 0.8077 GB, free: 36.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.6522, allocations: 55.34 kB / 0.8077 GB, free: 36.92 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007507/0.6529, allocations: 0.493 MB / 0.8082 GB, free: 36.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.653, allocations: 30.98 kB / 0.8082 GB, free: 36.65 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.6532, allocations: 357.9 kB / 0.8086 GB, free: 36.36 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.895e-05/0.6533, allocations: 113.7 kB / 0.8087 GB, free: 36.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.6535, allocations: 111.5 kB / 0.8088 GB, free: 36.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.6536, allocations: 369.5 kB / 0.8092 GB, free: 35.87 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.6539, allocations: 196.4 kB / 0.8093 GB, free: 35.81 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004288/0.6544, allocations: 448.4 kB / 0.8098 GB, free: 35.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008028/0.6552, allocations: 0.6857 MB / 0.8104 GB, free: 34.89 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.6552, allocations: 7.406 kB / 0.8104 GB, free: 34.89 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001349/0.6566, allocations: 0.8091 MB / 0.8112 GB, free: 34.53 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.6566, allocations: 9.844 kB / 0.8112 GB, free: 34.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.6566, allocations: 14.59 kB / 0.8113 GB, free: 34.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004912/0.6571, allocations: 151.2 kB / 0.8114 GB, free: 34.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004765/0.6576, allocations: 122.1 kB / 0.8115 GB, free: 34.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/0.6601, allocations: 4.355 MB / 0.8158 GB, free: 30.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.6606, allocations: 33.84 kB / 0.8158 GB, free: 30.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.855e-05/0.6606, allocations: 31.86 kB / 0.8158 GB, free: 30.16 MB / 0.6544 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.0002752/0.6609, allocations: 212.9 kB / 0.816 GB, free: 29.99 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.561e-05/0.661, allocations: 58.31 kB / 0.8161 GB, free: 29.96 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.6621, allocations: 0.6022 MB / 0.8167 GB, free: 29.68 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.6621, allocations: 4.625 kB / 0.8167 GB, free: 29.68 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.6621, allocations: 1.281 kB / 0.8167 GB, free: 29.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.6621, allocations: 1.969 kB / 0.8167 GB, free: 29.68 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.6639, allocations: 1.252 MB / 0.8179 GB, free: 28.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.6639, allocations: 2.594 kB / 0.8179 GB, free: 28.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.6642, allocations: 54.06 kB / 0.818 GB, free: 28.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003951/0.6646, allocations: 143.5 kB / 0.8181 GB, free: 28.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.6646, allocations: 12.25 kB / 0.8181 GB, free: 28.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/0.667, allocations: 4.339 MB / 0.8224 GB, free: 24.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.667, allocations: 6.375 kB / 0.8224 GB, free: 24.62 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009411/0.6679, allocations: 0.7132 MB / 0.8231 GB, free: 24.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.6681, allocations: 170.4 kB / 0.8232 GB, free: 24.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.101e-05/0.6682, allocations: 7.953 kB / 0.8232 GB, free: 24.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.6685, allocations: 22.55 kB / 0.8232 GB, free: 24.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.6685, allocations: 41.11 kB / 0.8233 GB, free: 24.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.6686, allocations: 11.56 kB / 0.8233 GB, free: 24.03 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003633/0.6689, allocations: 335.4 kB / 0.8236 GB, free: 23.88 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6689, allocations: 0 / 0.8236 GB, free: 23.88 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007724/0.6697, allocations: 141.4 kB / 0.8238 GB, free: 23.86 MB / 0.6544 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.0001448/0.6699, allocations: 112.6 kB / 0.8239 GB, free: 23.76 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001314/0.6712, allocations: 1.032 MB / 0.8249 GB, free: 23.05 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6712, allocations: 0 / 0.8249 GB, free: 23.05 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006747/0.6719, allocations: 0.7434 MB / 0.8256 GB, free: 22.43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009555/0.6729, allocations: 194 kB / 0.8258 GB, free: 22.39 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.6744, allocations: 1.082 MB / 0.8268 GB, free: 21.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.6749, allocations: 0.9012 MB / 0.8277 GB, free: 21.05 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.675, allocations: 47.48 kB / 0.8278 GB, free: 21.04 MB / 0.6544 GB Notification: Performance of SimCode: time 7.72e-07/0.675, allocations: 0 / 0.8278 GB, free: 21.04 MB / 0.6544 GB Notification: Performance of Templates: time 0.02596/0.701, allocations: 17.98 MB / 0.8453 GB, free: 16.25 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)