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.TestImpedance.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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.489/1.489, 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.0009878/0.0009878, allocations: 181.5 kB / 327.3 MB, free: 2.215 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.708/1.708, allocations: 205.4 MB / 0.5783 GB, free: 20.28 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.0008524/0.0008524, allocations: 90.23 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003661, allocations: 7.844 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2466, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004104/0.2508, allocations: 4.271 MB / 0.905 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00327/0.2541, allocations: 2.352 MB / 0.9073 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004102/0.2545, allocations: 19.81 kB / 0.9073 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.2548, allocations: 91.22 kB / 0.9074 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008595/0.2557, allocations: 346.1 kB / 0.9077 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006894/0.2564, allocations: 278.5 kB / 0.908 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006769/0.257, allocations: 0.9641 MB / 0.9089 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000642/0.2577, allocations: 420.2 kB / 0.9093 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.258, allocations: 290.7 kB / 0.9096 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003304/0.2583, allocations: 330.6 kB / 0.9099 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.665e-05/0.2584, allocations: 20 kB / 0.91 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003968/0.2588, allocations: 195.7 kB / 0.9101 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.259, allocations: 159.5 kB / 0.9103 GB, free: 54.17 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.836e-05/0.259, allocations: 137.3 kB / 0.9104 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004876/0.2595, allocations: 0.6353 MB / 0.911 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.2596, allocations: 0 / 0.911 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2596, allocations: 0 / 0.911 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.278e-06/0.2596, allocations: 0 / 0.911 GB, free: 53.39 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00112/0.2607, allocations: 0.8412 MB / 0.9119 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.2608, allocations: 8.031 kB / 0.9119 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.2619, allocations: 198.9 kB / 0.9121 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005637/0.2625, allocations: 485.3 kB / 0.9125 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.2625, allocations: 40.97 kB / 0.9126 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.128e-05/0.2626, allocations: 40 kB / 0.9126 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008888/0.2635, allocations: 0.8367 MB / 0.9134 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.2635, allocations: 7.938 kB / 0.9134 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.851e-05/0.2636, allocations: 23.98 kB / 0.9135 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.899e-05/0.2636, allocations: 68.89 kB / 0.9135 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006641/0.2643, allocations: 0.5617 MB / 0.9141 GB, free: 50.08 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003197/0.2675, allocations: 5.654 MB / 0.9196 GB, free: 44.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000512/0.2681, allocations: 456.3 kB / 0.92 GB, free: 43.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.2683, allocations: 221.3 kB / 0.9202 GB, free: 43.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.2683, allocations: 11.94 kB / 0.9202 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.2684, allocations: 50.5 kB / 0.9203 GB, free: 43.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 2.435e-06/0.2684, allocations: 0 / 0.9203 GB, free: 43.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.002196/0.2706, allocations: 1.497 MB / 0.9218 GB, free: 41.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.2706, allocations: 55.41 kB / 0.9218 GB, free: 41.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.271, allocations: 498.9 kB / 0.9223 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.2711, allocations: 33.7 kB / 0.9223 GB, free: 41.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.2712, allocations: 350.8 kB / 0.9227 GB, free: 40.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.218e-05/0.2713, allocations: 122.3 kB / 0.9228 GB, free: 40.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/0.2713, allocations: 16 kB / 0.9228 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.409e-05/0.2714, allocations: 358.8 kB / 0.9231 GB, free: 40.22 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.2716, allocations: 197.2 kB / 0.9233 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.272, allocations: 443 kB / 0.9237 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.2723, allocations: 268 kB / 0.924 GB, free: 39.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.2723, allocations: 3.938 kB / 0.924 GB, free: 39.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001007/0.2733, allocations: 0.8017 MB / 0.9248 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.2733, allocations: 10.66 kB / 0.9248 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.2733, allocations: 8 kB / 0.9248 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004455/0.2738, allocations: 152.3 kB / 0.9249 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003977/0.2742, allocations: 123.8 kB / 0.9251 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.2764, allocations: 4.036 MB / 0.929 GB, free: 33.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003528/0.2768, allocations: 35.97 kB / 0.929 GB, free: 33.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.2768, allocations: 36.14 kB / 0.9291 GB, free: 33.59 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002386/0.2771, allocations: 217.5 kB / 0.9293 GB, free: 33.37 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.8e-05/0.2772, allocations: 55.34 kB / 0.9293 GB, free: 33.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008276/0.278, allocations: 0.6044 MB / 0.9299 GB, free: 32.69 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.278, allocations: 7.953 kB / 0.9299 GB, free: 32.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.278, allocations: 0 / 0.9299 GB, free: 32.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.278, allocations: 3.984 kB / 0.9299 GB, free: 32.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.2794, allocations: 1.249 MB / 0.9312 GB, free: 31.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.2795, allocations: 3.953 kB / 0.9312 GB, free: 31.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.2797, allocations: 55.89 kB / 0.9312 GB, free: 31.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003612/0.2801, allocations: 148.3 kB / 0.9314 GB, free: 31.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.2801, allocations: 8 kB / 0.9314 GB, free: 31.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/0.2822, allocations: 4.013 MB / 0.9353 GB, free: 26.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.2822, allocations: 4.031 kB / 0.9353 GB, free: 26.69 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008206/0.2831, allocations: 0.7127 MB / 0.936 GB, free: 25.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.2832, allocations: 168.3 kB / 0.9361 GB, free: 25.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.323e-05/0.2833, allocations: 11.98 kB / 0.9362 GB, free: 25.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.2835, allocations: 19.97 kB / 0.9362 GB, free: 25.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.2836, allocations: 35.91 kB / 0.9362 GB, free: 25.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.2836, allocations: 12 kB / 0.9362 GB, free: 25.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002817/0.2839, allocations: 330.8 kB / 0.9365 GB, free: 25.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2839, allocations: 0 / 0.9365 GB, free: 25.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005812/0.2845, allocations: 140 kB / 0.9367 GB, free: 25.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001425/0.2847, allocations: 115.7 kB / 0.9368 GB, free: 25.08 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001121/0.2858, allocations: 1.029 MB / 0.9378 GB, free: 23.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2858, allocations: 0 / 0.9378 GB, free: 23.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006189/0.2864, allocations: 0.7444 MB / 0.9385 GB, free: 23.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000928/0.2874, allocations: 190.8 kB / 0.9387 GB, free: 22.96 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.2888, allocations: 1.262 MB / 0.9399 GB, free: 21.65 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.2891, allocations: 0.9058 MB / 0.9408 GB, free: 20.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.2892, allocations: 43.44 kB / 0.9408 GB, free: 20.67 MB / 0.6042 GB Notification: Performance of SimCode: time 1.072e-06/0.2892, allocations: 0 / 0.9408 GB, free: 20.67 MB / 0.6042 GB Notification: Performance of Templates: time 0.01559/0.3048, allocations: 17.93 MB / 0.9584 GB, free: 2.77 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)