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 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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.502/2.502, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001465/0.001464, allocations: 181.2 kB / 325.6 MB, free: 2.832 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.535/2.535, allocations: 205.4 MB / 0.5766 GB, free: 20.79 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.001173/0.001173, allocations: 102.9 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006554/0.0006553, allocations: 9 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2222, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004499/0.2268, allocations: 3.173 MB / 0.902 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003229/0.23, allocations: 1.701 MB / 0.9037 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002636/0.2303, allocations: 19.88 kB / 0.9037 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.2305, allocations: 47.61 kB / 0.9037 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007604/0.2313, allocations: 239.2 kB / 0.9039 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006846/0.232, allocations: 189.3 kB / 0.9041 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005871/0.2326, allocations: 392.8 kB / 0.9045 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006661/0.2333, allocations: 330.5 kB / 0.9048 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003599/0.2337, allocations: 191.3 kB / 0.905 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003446/0.234, allocations: 187.2 kB / 0.9052 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.2341, allocations: 16 kB / 0.9052 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003206/0.2344, allocations: 99.81 kB / 0.9053 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.2346, allocations: 103.6 kB / 0.9054 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.47e-05/0.2346, allocations: 93.52 kB / 0.9055 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000512/0.2352, allocations: 403.2 kB / 0.9059 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2352, allocations: 4 kB / 0.9059 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2352, allocations: 3.938 kB / 0.9059 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2352, allocations: 0 / 0.9059 GB, free: 58.27 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.001238/0.2365, allocations: 0.6506 MB / 0.9065 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2365, allocations: 16.02 kB / 0.9065 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.2375, allocations: 131.2 kB / 0.9066 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006163/0.2382, allocations: 358.6 kB / 0.907 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.2382, allocations: 24.64 kB / 0.907 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.886e-05/0.2383, allocations: 31.94 kB / 0.907 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.2393, allocations: 0.5437 MB / 0.9076 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.2394, allocations: 4 kB / 0.9076 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.319e-05/0.2394, allocations: 19.97 kB / 0.9076 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.774e-05/0.2395, allocations: 40.5 kB / 0.9076 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.2406, allocations: 421.7 kB / 0.908 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003264/0.2439, allocations: 3.334 MB / 0.9113 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009633/0.2449, allocations: 342.6 kB / 0.9116 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.2449, allocations: 4 kB / 0.9116 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.245, allocations: 34.56 kB / 0.9117 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 3.146e-06/0.245, allocations: 0 / 0.9117 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.002918/0.2479, allocations: 1.085 MB / 0.9127 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.2479, allocations: 55.64 kB / 0.9128 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004094/0.2484, allocations: 329.6 kB / 0.9131 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.2484, allocations: 37.7 kB / 0.9131 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.2486, allocations: 247.5 kB / 0.9134 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.713e-05/0.2487, allocations: 94.66 kB / 0.9134 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.2487, allocations: 8 kB / 0.9134 GB, free: 49.97 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.509e-05/0.2488, allocations: 346.8 kB / 0.9138 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004133/0.2492, allocations: 152.7 kB / 0.9139 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/0.2497, allocations: 299.1 kB / 0.9142 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004839/0.2502, allocations: 196.5 kB / 0.9144 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.2502, allocations: 4 kB / 0.9144 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001592/0.2518, allocations: 0.5721 MB / 0.915 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.2519, allocations: 8 kB / 0.915 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.2519, allocations: 4 kB / 0.915 GB, free: 48.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004849/0.2524, allocations: 99 kB / 0.9151 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006106/0.253, allocations: 83.83 kB / 0.9151 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/0.253, allocations: 11.98 kB / 0.9152 GB, free: 48.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/0.2535, allocations: 31.97 kB / 0.9152 GB, free: 48.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.2536, allocations: 20 kB / 0.9152 GB, free: 48.08 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.000245/0.2538, allocations: 177.6 kB / 0.9154 GB, free: 47.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.18e-05/0.2539, allocations: 39.53 kB / 0.9154 GB, free: 47.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.2552, allocations: 480 kB / 0.9159 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.2552, allocations: 4 kB / 0.9159 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.2552, allocations: 0 / 0.9159 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.2553, allocations: 0 / 0.9159 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.2572, allocations: 0.9689 MB / 0.9168 GB, free: 46.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.2573, allocations: 0 / 0.9168 GB, free: 46.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/0.2577, allocations: 59.89 kB / 0.9169 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003805/0.2581, allocations: 78.61 kB / 0.917 GB, free: 46.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.2581, allocations: 8 kB / 0.917 GB, free: 46.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.2582, allocations: 0 / 0.917 GB, free: 46.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.2582, allocations: 11.92 kB / 0.917 GB, free: 46.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.2594, allocations: 0.5876 MB / 0.9175 GB, free: 45.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.2596, allocations: 140.6 kB / 0.9177 GB, free: 45.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.275e-05/0.2597, allocations: 11.98 kB / 0.9177 GB, free: 45.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.2601, allocations: 19.98 kB / 0.9177 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.853e-05/0.2602, allocations: 27.91 kB / 0.9177 GB, free: 45.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.2602, allocations: 12 kB / 0.9177 GB, free: 45.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002721/0.2605, allocations: 227.2 kB / 0.918 GB, free: 45.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2605, allocations: 0 / 0.918 GB, free: 45.08 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005611/0.2611, allocations: 88 kB / 0.918 GB, free: 44.99 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.0001357/0.2613, allocations: 109.6 kB / 0.9182 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001165/0.2624, allocations: 0.6469 MB / 0.9188 GB, free: 44.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2624, allocations: 0 / 0.9188 GB, free: 44.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005894/0.263, allocations: 446.2 kB / 0.9192 GB, free: 43.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000885/0.2639, allocations: 113.4 kB / 0.9193 GB, free: 43.55 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.2654, allocations: 0.869 MB / 0.9202 GB, free: 42.65 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.2657, allocations: 0.8355 MB / 0.921 GB, free: 41.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004036/0.2661, allocations: 87.34 kB / 0.9211 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.2662, allocations: 31.44 kB / 0.9211 GB, free: 41.66 MB / 0.6042 GB Notification: Performance of SimCode: time 1.032e-06/0.2663, allocations: 0 / 0.9211 GB, free: 41.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.0119/0.2782, allocations: 4.294 MB / 0.9253 GB, free: 37.42 MB / 0.6042 GB