Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.971/4.971, allocations: 0.5623 GB / 0.5775 GB, free: 3.316 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003571/0.00357, allocations: 356.1 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.048/4.048, allocations: 410.7 MB / 1.113 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001785/0.001784, allocations: 179.1 kB / 1.226 GB, free: 35.92 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005107/0.0005109, allocations: 8.656 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2269, allocations: 115.3 MB / 1.461 GB, free: 6.539 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.231, allocations: 154.1 MB / 1.612 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003749/1.231, allocations: 97.12 kB / 1.612 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08545/1.317, allocations: 20.47 MB / 1.632 GB, free: 3.516 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.625e-06/1.317, allocations: 0 / 1.632 GB, free: 3.516 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.568e-05/1.317, allocations: 8 kB / 1.632 GB, free: 3.508 MB / 0.698 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.001741/1.319, allocations: 0.6933 MB / 1.633 GB, free: 2.797 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.319, allocations: 8.031 kB / 1.633 GB, free: 2.789 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/1.32, allocations: 139.2 kB / 1.633 GB, free: 2.652 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/1.321, allocations: 374.2 kB / 1.633 GB, free: 2.273 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/1.321, allocations: 19.91 kB / 1.633 GB, free: 2.262 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.091e-05/1.322, allocations: 32.61 kB / 1.633 GB, free: 2.238 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/1.323, allocations: 0.6019 MB / 1.634 GB, free: 1.652 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/1.323, allocations: 3.938 kB / 1.634 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.4e-05/1.323, allocations: 23.73 kB / 1.634 GB, free: 1.633 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.333e-05/1.323, allocations: 39.28 kB / 1.634 GB, free: 1.598 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/1.324, allocations: 417.9 kB / 1.634 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004626/1.329, allocations: 3.362 MB / 1.637 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/1.33, allocations: 336.5 kB / 1.638 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005094/1.331, allocations: 185.8 kB / 1.638 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/1.331, allocations: 4 kB / 1.638 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/1.331, allocations: 38.44 kB / 1.638 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=26): time 3.226e-06/1.331, allocations: 0 / 1.638 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=27): time 0.003493/1.334, allocations: 1.081 MB / 1.639 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/1.334, allocations: 59.62 kB / 1.639 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006293/1.335, allocations: 338.4 kB / 1.639 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.408e-05/1.335, allocations: 29.02 kB / 1.639 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000284/1.336, allocations: 242.4 kB / 1.64 GB, free: 12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/1.336, allocations: 93.33 kB / 1.64 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/1.336, allocations: 10.56 kB / 1.64 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001549/1.336, allocations: 344.4 kB / 1.64 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005124/1.336, allocations: 151.7 kB / 1.64 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005934/1.337, allocations: 278.3 kB / 1.641 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006279/1.338, allocations: 191.3 kB / 1.641 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/1.338, allocations: 0 / 1.641 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001741/1.339, allocations: 0.5524 MB / 1.641 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/1.34, allocations: 8 kB / 1.641 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.34, allocations: 4 kB / 1.641 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006273/1.34, allocations: 89.25 kB / 1.641 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006877/1.341, allocations: 79.02 kB / 1.641 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.173e-05/1.341, allocations: 15.92 kB / 1.641 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005157/1.342, allocations: 39.31 kB / 1.641 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/1.342, allocations: 12 kB / 1.642 GB, free: 10.41 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (42): * Single equations (assignments): 39 * 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.0003223/1.342, allocations: 172.4 kB / 1.642 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/1.342, allocations: 43.48 kB / 1.642 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/1.344, allocations: 475.1 kB / 1.642 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/1.344, allocations: 4 kB / 1.642 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/1.344, allocations: 0 / 1.642 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/1.344, allocations: 0 / 1.642 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/1.346, allocations: 0.9851 MB / 1.643 GB, free: 9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.346, allocations: 0 / 1.643 GB, free: 9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004738/1.347, allocations: 55.5 kB / 1.643 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004334/1.347, allocations: 84.19 kB / 1.643 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/1.347, allocations: 7.375 kB / 1.643 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/1.347, allocations: 0 / 1.643 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/1.347, allocations: 4 kB / 1.643 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001449/1.349, allocations: 0.5544 MB / 1.644 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002922/1.349, allocations: 143.1 kB / 1.644 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.456e-05/1.349, allocations: 3.75 kB / 1.644 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/1.349, allocations: 27.17 kB / 1.644 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.22e-05/1.35, allocations: 23.22 kB / 1.644 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.338e-05/1.35, allocations: 11.69 kB / 1.644 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003708/1.35, allocations: 236 kB / 1.644 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.365e-06/1.35, allocations: 4 kB / 1.644 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005934/1.351, allocations: 93.88 kB / 1.644 GB, free: 7.902 MB / 0.7136 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.0001823/1.351, allocations: 111.1 kB / 1.644 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001419/1.352, allocations: 0.6217 MB / 1.645 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.352, allocations: 0 / 1.645 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007433/1.353, allocations: 442.2 kB / 1.645 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/1.354, allocations: 117.7 kB / 1.646 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/1.356, allocations: 0.8684 MB / 1.646 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005822/1.357, allocations: 0.8328 MB / 1.647 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004945/1.357, allocations: 87.27 kB / 1.647 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/1.357, allocations: 31.25 kB / 1.647 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of SimCode: time 1.703e-06/1.357, allocations: 0 / 1.647 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of Templates: time 0.01436/1.372, allocations: 4.333 MB / 1.652 GB, free: 0.5898 MB / 0.7136 GB