Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.574/1.574, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001062/0.001061, allocations: 180.8 kB / 366.7 MB, free: 1.656 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.643/1.643, allocations: 205.2 MB / 0.626 GB, free: 7.156 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.00112/0.00112, allocations: 93.66 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.673e-05/1.676e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6891/0.6892, allocations: 116.3 MB / 0.9733 GB, free: 76.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2066/0.8958, allocations: 154.5 MB / 1.124 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/0.8962, allocations: 91.94 kB / 1.124 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0481/0.9443, allocations: 20.29 MB / 1.144 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9444, allocations: 4 kB / 1.144 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.754e-05/0.9444, allocations: 12 kB / 1.144 GB, free: 7.16 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.001098/0.9455, allocations: 0.6346 MB / 1.145 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.9456, allocations: 12.03 kB / 1.145 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009064/0.9465, allocations: 135.3 kB / 1.145 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006/0.9471, allocations: 386.5 kB / 1.145 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.9471, allocations: 8 kB / 1.145 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/0.9472, allocations: 16 kB / 1.145 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005052/0.9477, allocations: 281.5 kB / 1.145 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007535/0.9485, allocations: 0.5407 MB / 1.146 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.9485, allocations: 8 kB / 1.146 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.9486, allocations: 6.625 kB / 1.146 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.464e-05/0.9486, allocations: 32.55 kB / 1.146 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002918/0.9516, allocations: 3.278 MB / 1.149 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006167/0.9522, allocations: 310.7 kB / 1.15 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.9524, allocations: 152.8 kB / 1.15 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.9524, allocations: 4.438 kB / 1.15 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.9525, allocations: 34.56 kB / 1.15 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=26): time 1.703e-06/0.9525, allocations: 0 / 1.15 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.001123/0.9536, allocations: 0.567 MB / 1.15 GB, free: 332 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.9537, allocations: 55.64 kB / 1.15 GB, free: 264 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002654/0.9539, allocations: 250.3 kB / 1.151 GB, free: 0 / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.954, allocations: 25.7 kB / 1.151 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.9542, allocations: 247.8 kB / 1.151 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.553e-05/0.9543, allocations: 90.59 kB / 1.151 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.607e-05/0.9543, allocations: 3.938 kB / 1.151 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.9544, allocations: 346.8 kB / 1.151 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.9546, allocations: 128.7 kB / 1.151 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.9549, allocations: 240.5 kB / 1.152 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.9551, allocations: 168.5 kB / 1.152 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.9552, allocations: 0 / 1.152 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007049/0.9559, allocations: 475.7 kB / 1.152 GB, free: 14.22 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.9559, allocations: 8 kB / 1.152 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.9559, allocations: 4 kB / 1.152 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003116/0.9562, allocations: 90.41 kB / 1.152 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.9566, allocations: 88.28 kB / 1.152 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.9566, allocations: 11.94 kB / 1.152 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/0.9568, allocations: 19.97 kB / 1.152 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.9569, allocations: 22.89 kB / 1.152 GB, free: 13.97 MB / 0.7605 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.0001115/0.957, allocations: 104.9 kB / 1.153 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.928e-05/0.957, allocations: 43.53 kB / 1.153 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006734/0.9577, allocations: 408.2 kB / 1.153 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.9577, allocations: 0 / 1.153 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.9578, allocations: 6.344 kB / 1.153 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.9578, allocations: 0 / 1.153 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.9589, allocations: 0.8712 MB / 1.154 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.9589, allocations: 0 / 1.154 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.9592, allocations: 57.09 kB / 1.154 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002217/0.9594, allocations: 86.45 kB / 1.154 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.9594, allocations: 4 kB / 1.154 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.9594, allocations: 4.094 kB / 1.154 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.9594, allocations: 0 / 1.154 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006053/0.96, allocations: 0.5213 MB / 1.155 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.9602, allocations: 140.6 kB / 1.155 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/0.9603, allocations: 7.938 kB / 1.155 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.9605, allocations: 15.98 kB / 1.155 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.9605, allocations: 31.89 kB / 1.155 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.9606, allocations: 7.438 kB / 1.155 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001602/0.9607, allocations: 200.6 kB / 1.155 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9607, allocations: 0 / 1.155 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003735/0.9611, allocations: 80 kB / 1.155 GB, free: 11.25 MB / 0.7605 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.0001574/0.9613, allocations: 107.2 kB / 1.155 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006195/0.9619, allocations: 0.5691 MB / 1.156 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9619, allocations: 0 / 1.156 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003334/0.9623, allocations: 417.6 kB / 1.156 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005572/0.9628, allocations: 103.4 kB / 1.156 GB, free: 9.934 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007873/0.9636, allocations: 0.5003 MB / 1.157 GB, free: 9.402 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.964, allocations: 0.8355 MB / 1.157 GB, free: 8.539 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002417/0.9643, allocations: 77.48 kB / 1.157 GB, free: 8.465 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.995e-05/0.9644, allocations: 27.44 kB / 1.158 GB, free: 8.438 MB / 0.7605 GB Notification: Performance of SimCode: time 2.61e-07/0.9644, allocations: 0 / 1.158 GB, free: 8.438 MB / 0.7605 GB Notification: Performance of Templates: time 0.007542/0.9719, allocations: 3.989 MB / 1.161 GB, free: 4.566 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)