Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.534/2.534, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001866/0.001865, allocations: 181.2 kB / 325.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.464/2.464, allocations: 205.4 MB / 0.5767 GB, free: 21.13 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009618/0.0009612, allocations: 88.25 kB / 0.6812 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004725/0.0004726, allocations: 12.78 kB / 0.7953 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2227, allocations: 106.2 MB / 0.899 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004885/0.2277, allocations: 3.274 MB / 0.9022 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003675/0.2314, allocations: 1.736 MB / 0.9039 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004103/0.2319, allocations: 11.94 kB / 0.9039 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.2322, allocations: 67.42 kB / 0.904 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.2334, allocations: 222.8 kB / 0.9042 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009886/0.2344, allocations: 189.9 kB / 0.9044 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001083/0.2355, allocations: 0.6438 MB / 0.905 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009978/0.2365, allocations: 354.5 kB / 0.9054 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005128/0.237, allocations: 195.1 kB / 0.9055 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004477/0.2375, allocations: 211 kB / 0.9058 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.534e-05/0.2376, allocations: 16 kB / 0.9058 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007061/0.2383, allocations: 135.8 kB / 0.9059 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.2386, allocations: 99.64 kB / 0.906 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.2388, allocations: 105.5 kB / 0.9061 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.2399, allocations: 434.8 kB / 0.9065 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.2399, allocations: 0 / 0.9065 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2399, allocations: 0 / 0.9065 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.2399, allocations: 0 / 0.9065 GB, free: 58.17 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.002298/0.2423, allocations: 0.6625 MB / 0.9072 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.2423, allocations: 8.031 kB / 0.9072 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002375/0.2447, allocations: 140.1 kB / 0.9073 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.2459, allocations: 367.8 kB / 0.9076 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.2459, allocations: 21.03 kB / 0.9077 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.246, allocations: 40.3 kB / 0.9077 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.2476, allocations: 0.5587 MB / 0.9082 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.2477, allocations: 0 / 0.9082 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-05/0.2478, allocations: 15.98 kB / 0.9083 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001353/0.2479, allocations: 48.47 kB / 0.9083 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/0.2496, allocations: 413.8 kB / 0.9087 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004594/0.2542, allocations: 3.33 MB / 0.912 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.2555, allocations: 346.4 kB / 0.9123 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006158/0.2562, allocations: 188.6 kB / 0.9125 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.105e-05/0.2563, allocations: 4 kB / 0.9125 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.2563, allocations: 38.56 kB / 0.9125 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 4.298e-06/0.2563, allocations: 0 / 0.9125 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.004063/0.2604, allocations: 1.081 MB / 0.9136 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.2605, allocations: 51.64 kB / 0.9136 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005945/0.2611, allocations: 341.6 kB / 0.9139 GB, free: 50.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.2611, allocations: 29.7 kB / 0.914 GB, free: 50 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/0.2614, allocations: 243.6 kB / 0.9142 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.2615, allocations: 98.58 kB / 0.9143 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.2615, allocations: 8 kB / 0.9143 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2617, allocations: 350.8 kB / 0.9146 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006164/0.2623, allocations: 152.8 kB / 0.9148 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007133/0.263, allocations: 290.5 kB / 0.9151 GB, free: 48.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007269/0.2638, allocations: 192.6 kB / 0.9152 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.2638, allocations: 4 kB / 0.9152 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002164/0.266, allocations: 0.5804 MB / 0.9158 GB, free: 48.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.266, allocations: 8 kB / 0.9158 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.2661, allocations: 4 kB / 0.9158 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006229/0.2667, allocations: 82.52 kB / 0.9159 GB, free: 47.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008599/0.2676, allocations: 91.81 kB / 0.916 GB, free: 47.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-05/0.2676, allocations: 11.94 kB / 0.916 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006771/0.2683, allocations: 32.03 kB / 0.916 GB, free: 47.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.674e-05/0.2684, allocations: 20 kB / 0.9161 GB, free: 47.77 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003548/0.2688, allocations: 173.7 kB / 0.9162 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.2689, allocations: 39.53 kB / 0.9163 GB, free: 47.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/0.2708, allocations: 472 kB / 0.9167 GB, free: 47.08 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.2708, allocations: 4 kB / 0.9167 GB, free: 47.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.2709, allocations: 0 / 0.9167 GB, free: 47.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.2709, allocations: 3.984 kB / 0.9167 GB, free: 47.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002848/0.2737, allocations: 0.9805 MB / 0.9177 GB, free: 46.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.2738, allocations: 0 / 0.9177 GB, free: 46.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005995/0.2744, allocations: 56.05 kB / 0.9177 GB, free: 45.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005373/0.275, allocations: 86.42 kB / 0.9178 GB, free: 45.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.275, allocations: 8 kB / 0.9178 GB, free: 45.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.2751, allocations: 0 / 0.9178 GB, free: 45.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.2751, allocations: 7.938 kB / 0.9178 GB, free: 45.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.2769, allocations: 0.5591 MB / 0.9184 GB, free: 45.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.2772, allocations: 132.6 kB / 0.9185 GB, free: 45.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.2773, allocations: 8 kB / 0.9185 GB, free: 45.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005864/0.2779, allocations: 27.91 kB / 0.9185 GB, free: 45.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.2781, allocations: 31.91 kB / 0.9186 GB, free: 45.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/0.2782, allocations: 7.938 kB / 0.9186 GB, free: 45.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004238/0.2786, allocations: 231.2 kB / 0.9188 GB, free: 44.81 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.11e-07/0.2786, allocations: 4 kB / 0.9188 GB, free: 44.81 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009394/0.2796, allocations: 95.98 kB / 0.9189 GB, free: 44.71 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001857/0.2798, allocations: 103.2 kB / 0.919 GB, free: 44.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001777/0.2816, allocations: 0.6381 MB / 0.9196 GB, free: 43.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.2816, allocations: 1.25 kB / 0.9196 GB, free: 43.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000848/0.2825, allocations: 442 kB / 0.92 GB, free: 43.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/0.2841, allocations: 121.9 kB / 0.9201 GB, free: 43.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.2862, allocations: 0.8651 MB / 0.921 GB, free: 42.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.2866, allocations: 0.8234 MB / 0.9218 GB, free: 41.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005824/0.2872, allocations: 79.36 kB / 0.9219 GB, free: 41.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.2874, allocations: 27.44 kB / 0.9219 GB, free: 41.43 MB / 0.6042 GB Notification: Performance of SimCode: time 1.122e-06/0.2874, allocations: 0 / 0.9219 GB, free: 41.43 MB / 0.6042 GB Notification: Performance of Templates: time 0.01656/0.304, allocations: 4.305 MB / 0.9261 GB, free: 37.18 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)