Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.326/1.326, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009261/0.000926, allocations: 173.1 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007857/0.0007856, allocations: 81.19 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003283, allocations: 8.75 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1721, allocations: 105.4 MB / 0.8968 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003195/0.1753, allocations: 3.457 MB / 0.9001 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002263/0.1776, allocations: 1.863 MB / 0.9019 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.1778, allocations: 15.88 kB / 0.902 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006902/0.1785, allocations: 239 kB / 0.9022 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004474/0.179, allocations: 274.7 kB / 0.9025 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.1794, allocations: 225.4 kB / 0.9027 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004712/0.1799, allocations: 0.7414 MB / 0.9034 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003705/0.1803, allocations: 241.8 kB / 0.9036 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.1805, allocations: 207 kB / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.1807, allocations: 223 kB / 0.904 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.1808, allocations: 16 kB / 0.904 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003667/0.1811, allocations: 339.3 kB / 0.9044 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.374e-05/0.1812, allocations: 107.6 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.1814, allocations: 186.8 kB / 0.9047 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003433/0.1817, allocations: 446.8 kB / 0.9051 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1817, allocations: 0 / 0.9051 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.674e-06/0.1818, allocations: 0 / 0.9051 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.1818, allocations: 0 / 0.9051 GB, free: 59.59 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.000825/0.1826, allocations: 0.6625 MB / 0.9057 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.1826, allocations: 8.031 kB / 0.9057 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007696/0.1834, allocations: 144.1 kB / 0.9059 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.1838, allocations: 375.6 kB / 0.9062 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.1838, allocations: 25.02 kB / 0.9063 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.767e-05/0.1839, allocations: 28.38 kB / 0.9063 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005962/0.1845, allocations: 0.5589 MB / 0.9068 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.1845, allocations: 7.922 kB / 0.9068 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.1845, allocations: 19.98 kB / 0.9069 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.735e-05/0.1846, allocations: 40.55 kB / 0.9069 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005592/0.1851, allocations: 413.8 kB / 0.9073 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.187, allocations: 3.337 MB / 0.9105 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005745/0.1876, allocations: 343.5 kB / 0.9109 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.1878, allocations: 184.8 kB / 0.911 GB, free: 53.06 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.1879, allocations: 4 kB / 0.9111 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.1879, allocations: 34.56 kB / 0.9111 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 1.312e-06/0.1879, allocations: 0 / 0.9111 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.00167/0.1896, allocations: 1.081 MB / 0.9121 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.1896, allocations: 63.56 kB / 0.9122 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.1899, allocations: 337.6 kB / 0.9125 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1899, allocations: 29.7 kB / 0.9126 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.342e-05/0.19, allocations: 247.5 kB / 0.9128 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/0.19, allocations: 94.66 kB / 0.9129 GB, free: 51.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.1901, allocations: 41.69 kB / 0.9129 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.097e-05/0.1901, allocations: 342.8 kB / 0.9132 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.1904, allocations: 156.8 kB / 0.9134 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.1906, allocations: 294.5 kB / 0.9137 GB, free: 50.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005238/0.1912, allocations: 0.4886 MB / 0.9142 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1912, allocations: 4 kB / 0.9142 GB, free: 49.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007885/0.192, allocations: 0.5735 MB / 0.9147 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.192, allocations: 8 kB / 0.9147 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.192, allocations: 4.562 kB / 0.9147 GB, free: 49.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00028/0.1923, allocations: 94.5 kB / 0.9148 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.1926, allocations: 83.83 kB / 0.9149 GB, free: 48.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.1927, allocations: 11.98 kB / 0.9149 GB, free: 48.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.1929, allocations: 39.84 kB / 0.9149 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.1929, allocations: 20 kB / 0.915 GB, free: 48.78 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.1931, allocations: 169.7 kB / 0.9151 GB, free: 48.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.357e-05/0.1931, allocations: 43.52 kB / 0.9152 GB, free: 48.56 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007176/0.1938, allocations: 476 kB / 0.9156 GB, free: 48.08 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.1939, allocations: 4 kB / 0.9156 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1939, allocations: 3.938 kB / 0.9156 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1939, allocations: 4 kB / 0.9156 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.195, allocations: 0.9689 MB / 0.9166 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.195, allocations: 0 / 0.9166 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.1952, allocations: 59.89 kB / 0.9166 GB, free: 46.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002057/0.1955, allocations: 78.61 kB / 0.9167 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.1955, allocations: 8 kB / 0.9167 GB, free: 46.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1955, allocations: 4 kB / 0.9167 GB, free: 46.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1955, allocations: 0 / 0.9167 GB, free: 46.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006445/0.1962, allocations: 0.5622 MB / 0.9173 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.1963, allocations: 136.6 kB / 0.9174 GB, free: 46.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/0.1963, allocations: 11.92 kB / 0.9174 GB, free: 46.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.1965, allocations: 27.98 kB / 0.9174 GB, free: 46.08 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.1966, allocations: 23.89 kB / 0.9175 GB, free: 46.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.1966, allocations: 12 kB / 0.9175 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000154/0.1968, allocations: 231.2 kB / 0.9177 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1968, allocations: 0 / 0.9177 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003409/0.1971, allocations: 88 kB / 0.9178 GB, free: 45.73 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001016/0.1972, allocations: 107.2 kB / 0.9179 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000655/0.1979, allocations: 0.6479 MB / 0.9185 GB, free: 44.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1979, allocations: 0 / 0.9185 GB, free: 44.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00031/0.1982, allocations: 445.9 kB / 0.9189 GB, free: 44.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006478/0.1989, allocations: 113.4 kB / 0.9191 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009232/0.1998, allocations: 0.9149 MB / 0.9199 GB, free: 43.33 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.2, allocations: 0.8234 MB / 0.9207 GB, free: 42.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.553e-05/0.2001, allocations: 31.44 kB / 0.9208 GB, free: 42.45 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/0.2001, allocations: 0 / 0.9208 GB, free: 42.45 MB / 0.6042 GB Notification: Performance of Templates: time 0.008738/0.2089, allocations: 9.391 MB / 0.9299 GB, free: 33.08 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)