Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.694/1.694, allocations: 285.6 MB / 293.1 MB, free: 10.19 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001308/0.001308, allocations: 184.9 kB / 361.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007602/0.0007602, allocations: 96.34 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.315e-05/2.329e-05, allocations: 4 kB / 0.8518 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7397/0.7397, allocations: 115.3 MB / 0.9644 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2373/0.9771, allocations: 153.5 MB / 1.114 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/0.9775, allocations: 95.73 kB / 1.114 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.05232/1.03, allocations: 20.29 MB / 1.134 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.154e-06/1.03, allocations: 0 / 1.134 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.705e-05/1.03, allocations: 12 kB / 1.134 GB, free: 13.82 MB / 0.7448 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.001335/1.031, allocations: 0.6385 MB / 1.135 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/1.031, allocations: 8.031 kB / 1.135 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/1.032, allocations: 136.3 kB / 1.135 GB, free: 13 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007018/1.033, allocations: 390.5 kB / 1.135 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/1.033, allocations: 8 kB / 1.135 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.81e-05/1.033, allocations: 16 kB / 1.135 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005516/1.034, allocations: 287.3 kB / 1.136 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007606/1.035, allocations: 0.5333 MB / 1.136 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/1.035, allocations: 7.938 kB / 1.136 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/1.035, allocations: 0 / 1.136 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.78e-05/1.035, allocations: 40.53 kB / 1.136 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003253/1.038, allocations: 3.274 MB / 1.139 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006194/1.039, allocations: 302.8 kB / 1.14 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/1.039, allocations: 156.8 kB / 1.14 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/1.039, allocations: 7.938 kB / 1.14 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/1.039, allocations: 34.56 kB / 1.14 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=26): time 1.934e-06/1.039, allocations: 3.938 kB / 1.14 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.001196/1.04, allocations: 0.5639 MB / 1.14 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/1.04, allocations: 55.64 kB / 1.14 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/1.041, allocations: 250.3 kB / 1.141 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/1.041, allocations: 25.7 kB / 1.141 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/1.041, allocations: 243.8 kB / 1.141 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.661e-05/1.041, allocations: 94.59 kB / 1.141 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.482e-05/1.041, allocations: 0 / 1.141 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001696/1.041, allocations: 350.8 kB / 1.141 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/1.041, allocations: 124.7 kB / 1.142 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/1.042, allocations: 244.5 kB / 1.142 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/1.042, allocations: 168.4 kB / 1.142 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.042, allocations: 0 / 1.142 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008045/1.043, allocations: 472 kB / 1.142 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/1.043, allocations: 9.25 kB / 1.142 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.043, allocations: 4 kB / 1.142 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000307/1.043, allocations: 90.45 kB / 1.142 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003394/1.043, allocations: 83.83 kB / 1.143 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/1.043, allocations: 7.984 kB / 1.143 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/1.044, allocations: 24.08 kB / 1.143 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/1.044, allocations: 19.98 kB / 1.143 GB, free: 4.645 MB / 0.7448 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 () * 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.0001262/1.044, allocations: 112.2 kB / 1.143 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.902e-05/1.044, allocations: 43.53 kB / 1.143 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007499/1.045, allocations: 412.1 kB / 1.143 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/1.045, allocations: 4 kB / 1.143 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.045, allocations: 0 / 1.143 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/1.045, allocations: 3.984 kB / 1.143 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/1.046, allocations: 0.8686 MB / 1.144 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.046, allocations: 4.094 kB / 1.144 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/1.046, allocations: 53.64 kB / 1.144 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002255/1.046, allocations: 78.47 kB / 1.144 GB, free: 2.988 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/1.047, allocations: 0 / 1.144 GB, free: 2.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/1.047, allocations: 7.938 kB / 1.144 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.047, allocations: 0 / 1.144 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006832/1.047, allocations: 0.5323 MB / 1.145 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/1.047, allocations: 136.6 kB / 1.145 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/1.047, allocations: 3.953 kB / 1.145 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/1.048, allocations: 19.97 kB / 1.145 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/1.048, allocations: 23.97 kB / 1.145 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/1.048, allocations: 8 kB / 1.145 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002029/1.048, allocations: 196.6 kB / 1.145 GB, free: 2 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.31e-07/1.048, allocations: 0 / 1.145 GB, free: 2 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004187/1.048, allocations: 84 kB / 1.145 GB, free: 1.918 MB / 0.7448 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 () * 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.0001884/1.049, allocations: 107 kB / 1.145 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007198/1.049, allocations: 0.5688 MB / 1.146 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/1.049, allocations: 0 / 1.146 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003682/1.05, allocations: 417.8 kB / 1.146 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005912/1.05, allocations: 105.9 kB / 1.146 GB, free: 0.6016 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008803/1.051, allocations: 0.4949 MB / 1.147 GB, free: 80 kB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/1.052, allocations: 0.8395 MB / 1.148 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002425/1.052, allocations: 75.22 kB / 1.148 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.966e-05/1.052, allocations: 27.42 kB / 1.148 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of SimCode: time 2.51e-07/1.052, allocations: 4 kB / 1.148 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of Templates: time 0.007758/1.06, allocations: 3.993 MB / 1.152 GB, free: 11.23 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)