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.402/1.402, allocations: 252 MB / 267.6 MB, free: 10.91 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.0009573/0.0009573, allocations: 175.3 kB / 327.3 MB, free: 2.211 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.842/1.842, allocations: 205.4 MB / 0.5783 GB, free: 20.56 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.0008132/0.0008133, allocations: 94.36 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003444, allocations: 8.125 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2553, allocations: 106.3 MB / 0.9008 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.00476/0.2601, allocations: 3.262 MB / 0.904 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003435/0.2636, allocations: 1.744 MB / 0.9057 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003176/0.264, allocations: 11.94 kB / 0.9057 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.2643, allocations: 59.44 kB / 0.9058 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006491/0.265, allocations: 230.8 kB / 0.906 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.2655, allocations: 177.9 kB / 0.9062 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005081/0.266, allocations: 0.64 MB / 0.9068 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005308/0.2665, allocations: 326.5 kB / 0.9071 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/0.2668, allocations: 199.1 kB / 0.9073 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002243/0.267, allocations: 215.1 kB / 0.9075 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.749e-05/0.2671, allocations: 16 kB / 0.9075 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002586/0.2673, allocations: 131.8 kB / 0.9077 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.179e-05/0.2674, allocations: 103.6 kB / 0.9078 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.841e-05/0.2675, allocations: 97.52 kB / 0.9079 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003612/0.2679, allocations: 439 kB / 0.9083 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.892e-06/0.2679, allocations: 4 kB / 0.9083 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2679, allocations: 0 / 0.9083 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.2679, allocations: 0 / 0.9083 GB, free: 56.59 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.0009077/0.2688, allocations: 0.6589 MB / 0.9089 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.2689, allocations: 16.02 kB / 0.9089 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007887/0.2697, allocations: 135.2 kB / 0.9091 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.2701, allocations: 370.6 kB / 0.9094 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.2701, allocations: 20.66 kB / 0.9094 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.2702, allocations: 39.86 kB / 0.9095 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000669/0.2709, allocations: 0.5476 MB / 0.91 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.2709, allocations: 3.984 kB / 0.91 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.2709, allocations: 15.98 kB / 0.91 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.533e-05/0.271, allocations: 44.53 kB / 0.9101 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005826/0.2716, allocations: 421.6 kB / 0.9105 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.2737, allocations: 3.33 MB / 0.9137 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006072/0.2743, allocations: 330.7 kB / 0.914 GB, free: 50.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.2746, allocations: 192.6 kB / 0.9142 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.2746, allocations: 0 / 0.9142 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.2746, allocations: 42.56 kB / 0.9143 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 1.803e-06/0.2746, allocations: 3.984 kB / 0.9143 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.001789/0.2764, allocations: 1.081 MB / 0.9153 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.2765, allocations: 51.64 kB / 0.9154 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.2767, allocations: 337.6 kB / 0.9157 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.2767, allocations: 29.7 kB / 0.9157 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.2769, allocations: 247.5 kB / 0.916 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/0.2769, allocations: 94.67 kB / 0.916 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.622e-05/0.2769, allocations: 15.94 kB / 0.9161 GB, free: 48.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.488e-05/0.277, allocations: 346.8 kB / 0.9164 GB, free: 47.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.2773, allocations: 152.8 kB / 0.9165 GB, free: 47.58 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.2776, allocations: 295.1 kB / 0.9168 GB, free: 47.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.2779, allocations: 198.7 kB / 0.917 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2779, allocations: 4 kB / 0.917 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008251/0.2787, allocations: 0.566 MB / 0.9176 GB, free: 46.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2788, allocations: 12 kB / 0.9176 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.2788, allocations: 4 kB / 0.9176 GB, free: 46.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002859/0.2791, allocations: 82.52 kB / 0.9177 GB, free: 46.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.2794, allocations: 95.81 kB / 0.9178 GB, free: 46.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.2794, allocations: 4 kB / 0.9178 GB, free: 46.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.2797, allocations: 35.97 kB / 0.9178 GB, free: 46.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.2797, allocations: 16 kB / 0.9178 GB, free: 46.2 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.0001649/0.2799, allocations: 181.6 kB / 0.918 GB, free: 46.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.2799, allocations: 39.53 kB / 0.918 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007548/0.2807, allocations: 476.5 kB / 0.9185 GB, free: 45.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.2807, allocations: 7.953 kB / 0.9185 GB, free: 45.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.2807, allocations: 0 / 0.9185 GB, free: 45.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2808, allocations: 3.984 kB / 0.9185 GB, free: 45.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.2819, allocations: 0.9689 MB / 0.9194 GB, free: 44.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.282, allocations: 0 / 0.9194 GB, free: 44.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.2822, allocations: 56 kB / 0.9195 GB, free: 44.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002043/0.2824, allocations: 82.5 kB / 0.9196 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.2824, allocations: 8 kB / 0.9196 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2824, allocations: 3.938 kB / 0.9196 GB, free: 44.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2824, allocations: 11.94 kB / 0.9196 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00066/0.2831, allocations: 0.5507 MB / 0.9201 GB, free: 43.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.2832, allocations: 148.5 kB / 0.9203 GB, free: 43.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.2833, allocations: 4 kB / 0.9203 GB, free: 43.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.2835, allocations: 23.97 kB / 0.9203 GB, free: 43.5 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.53e-05/0.2836, allocations: 23.91 kB / 0.9203 GB, free: 43.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.2836, allocations: 12 kB / 0.9203 GB, free: 43.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001763/0.2838, allocations: 235.2 kB / 0.9205 GB, free: 43.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2838, allocations: 4 kB / 0.9206 GB, free: 43.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003637/0.2841, allocations: 84 kB / 0.9206 GB, free: 43.14 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.0001242/0.2843, allocations: 103.2 kB / 0.9207 GB, free: 43.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007301/0.285, allocations: 0.6422 MB / 0.9214 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.285, allocations: 4 kB / 0.9214 GB, free: 42.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003324/0.2854, allocations: 443.1 kB / 0.9218 GB, free: 41.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006664/0.286, allocations: 120.8 kB / 0.9219 GB, free: 41.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009863/0.287, allocations: 0.9108 MB / 0.9228 GB, free: 40.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.2873, allocations: 0.8234 MB / 0.9236 GB, free: 39.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.688e-05/0.2874, allocations: 35.38 kB / 0.9236 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/0.2874, allocations: 4 kB / 0.9236 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of Templates: time 0.009677/0.2971, allocations: 9.385 MB / 0.9328 GB, free: 30.5 MB / 0.6042 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)