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.294/1.294, allocations: 252 MB / 267.9 MB, free: 10.92 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.0009758/0.0009759, allocations: 186.2 kB / 327.6 MB, free: 2.152 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.53/1.53, allocations: 205.4 MB / 0.5785 GB, free: 20.24 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.0007549/0.000755, allocations: 86.36 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004131, allocations: 12.06 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1957, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1668/0.3625, allocations: 148 MB / 1.046 GB, free: 11.51 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.3628, allocations: 95.94 kB / 1.046 GB, free: 11.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4009/0.7638, allocations: 20.48 MB / 1.066 GB, free: 148.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7638, allocations: 0.9062 kB / 1.066 GB, free: 148.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.528e-05/0.7639, allocations: 12.78 kB / 1.066 GB, free: 148.7 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.001194/0.7651, allocations: 0.6915 MB / 1.067 GB, free: 148.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.7651, allocations: 12.56 kB / 1.067 GB, free: 148.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009479/0.7661, allocations: 132.9 kB / 1.067 GB, free: 148.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005896/0.7667, allocations: 392.8 kB / 1.067 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.7667, allocations: 25.66 kB / 1.067 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/0.7668, allocations: 32.23 kB / 1.067 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008484/0.7676, allocations: 0.6058 MB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.7677, allocations: 1.688 kB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.78e-05/0.7677, allocations: 25.05 kB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.648e-05/0.7678, allocations: 36.42 kB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007495/0.7685, allocations: 417.6 kB / 1.068 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002447/0.771, allocations: 3.356 MB / 1.071 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006523/0.7717, allocations: 342.7 kB / 1.072 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/0.772, allocations: 184.1 kB / 1.072 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.772, allocations: 2.938 kB / 1.072 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.772, allocations: 39.94 kB / 1.072 GB, free: 144.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 2.615e-06/0.772, allocations: 3.656 kB / 1.072 GB, free: 144.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=27): time 0.001938/0.774, allocations: 1.081 MB / 1.073 GB, free: 144.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.774, allocations: 54.64 kB / 1.073 GB, free: 144.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003904/0.7744, allocations: 345.2 kB / 1.073 GB, free: 144.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.7745, allocations: 30.3 kB / 1.073 GB, free: 144.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.951e-05/0.7746, allocations: 240.4 kB / 1.074 GB, free: 144 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.982e-05/0.7746, allocations: 89.12 kB / 1.074 GB, free: 143.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/0.7747, allocations: 9.062 kB / 1.074 GB, free: 143.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.752e-05/0.7747, allocations: 345.2 kB / 1.074 GB, free: 143.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/0.775, allocations: 149.4 kB / 1.074 GB, free: 143.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.7753, allocations: 273.9 kB / 1.075 GB, free: 143.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006177/0.776, allocations: 474.5 kB / 1.075 GB, free: 143.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.776, allocations: 5.75 kB / 1.075 GB, free: 143.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009406/0.7769, allocations: 0.5526 MB / 1.076 GB, free: 143.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.777, allocations: 6.656 kB / 1.076 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.777, allocations: 4.25 kB / 1.076 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003015/0.7773, allocations: 85.06 kB / 1.076 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.7776, allocations: 90.45 kB / 1.076 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.7777, allocations: 10.72 kB / 1.076 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.7779, allocations: 27.33 kB / 1.076 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.778, allocations: 17.09 kB / 1.076 GB, free: 143.1 MB / 0.698 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.0002167/0.7782, allocations: 178.5 kB / 1.076 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.593e-05/0.7783, allocations: 39.84 kB / 1.076 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008811/0.7792, allocations: 469.8 kB / 1.076 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.7792, allocations: 7.812 kB / 1.076 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.7792, allocations: 0.9688 kB / 1.076 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.7792, allocations: 2.25 kB / 1.076 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.7806, allocations: 0.9805 MB / 1.077 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.7806, allocations: 4.031 kB / 1.077 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.7808, allocations: 52.34 kB / 1.077 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001929/0.781, allocations: 78.36 kB / 1.077 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.7811, allocations: 9.938 kB / 1.078 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.7811, allocations: 2.938 kB / 1.078 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.7811, allocations: 4.969 kB / 1.078 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007253/0.7818, allocations: 0.5566 MB / 1.078 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.782, allocations: 141.8 kB / 1.078 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.574e-05/0.7821, allocations: 2.375 kB / 1.078 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.7823, allocations: 24.23 kB / 1.078 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.7824, allocations: 29.34 kB / 1.078 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.7824, allocations: 10.81 kB / 1.078 GB, free: 142.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002214/0.7827, allocations: 233.9 kB / 1.078 GB, free: 142.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7827, allocations: 0 / 1.078 GB, free: 142.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004308/0.7831, allocations: 93.22 kB / 1.079 GB, free: 142.1 MB / 0.698 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.0001355/0.7832, allocations: 120.1 kB / 1.079 GB, free: 142 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007638/0.784, allocations: 0.6287 MB / 1.079 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.784, allocations: 2.594 kB / 1.079 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003516/0.7844, allocations: 438.9 kB / 1.08 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006958/0.7851, allocations: 116.2 kB / 1.08 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.7863, allocations: 0.8609 MB / 1.081 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.7866, allocations: 0.8291 MB / 1.081 GB, free: 140.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002731/0.7869, allocations: 81.94 kB / 1.082 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.136e-05/0.787, allocations: 28.31 kB / 1.082 GB, free: 140.1 MB / 0.698 GB Notification: Performance of SimCode: time 2.51e-07/0.787, allocations: 0 / 1.082 GB, free: 140.1 MB / 0.698 GB Notification: Performance of Templates: time 0.00919/0.7962, allocations: 4.39 MB / 1.086 GB, free: 139.6 MB / 0.698 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)