Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 188.6 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.794/1.794, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001438, allocations: 67.77 kB / 0.6723 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2502, allocations: 114.6 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.006212/0.2564, allocations: 4.359 MB / 0.7884 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004612/0.2611, allocations: 3.25 MB / 0.7916 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002639/0.2614, allocations: 15.88 kB / 0.7916 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.2629, allocations: 0.5048 MB / 0.7921 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009758/0.2639, allocations: 386 kB / 0.7924 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006124/0.2645, allocations: 251.4 kB / 0.7927 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006906/0.2652, allocations: 0.5954 MB / 0.7933 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006548/0.2659, allocations: 0.5248 MB / 0.7938 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004041/0.2663, allocations: 275.1 kB / 0.794 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000396/0.2667, allocations: 275 kB / 0.7943 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.004e-05/0.2668, allocations: 40 kB / 0.7943 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004697/0.2673, allocations: 291.5 kB / 0.7946 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.2674, allocations: 167.5 kB / 0.7948 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002096/0.2677, allocations: 230.9 kB / 0.795 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007771/0.2684, allocations: 0.779 MB / 0.7958 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2685, allocations: 0 / 0.7958 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2685, allocations: 0 / 0.7958 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.2685, allocations: 0 / 0.7958 GB, free: 0.7656 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001205/0.2697, allocations: 0.7752 MB / 0.7965 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2697, allocations: 8.031 kB / 0.7965 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002625/0.2724, allocations: 0.6593 MB / 0.7972 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006693/0.273, allocations: 451.8 kB / 0.7976 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.2731, allocations: 21.03 kB / 0.7976 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.329e-05/0.2732, allocations: 36.11 kB / 0.7976 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.2747, allocations: 0.7708 MB / 0.7984 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.2747, allocations: 0 / 0.7984 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.215e-05/0.2748, allocations: 19.98 kB / 0.7984 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/0.2749, allocations: 40.61 kB / 0.7985 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.2768, allocations: 0.8608 MB / 0.7993 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003663/0.2805, allocations: 2.784 MB / 0.802 GB, free: 10 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.2821, allocations: 0.5019 MB / 0.8025 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006985/0.2828, allocations: 252.5 kB / 0.8027 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.2829, allocations: 85.11 kB / 0.8028 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.2829, allocations: 46.55 kB / 0.8029 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.2829, allocations: 0 / 0.8029 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24): time 0.01067/0.2936, allocations: 2.954 MB / 0.8058 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.2937, allocations: 63.34 kB / 0.8058 GB, free: 6.027 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/0.2942, allocations: 409.5 kB / 0.8062 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/0.2943, allocations: 25.7 kB / 0.8062 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.2945, allocations: 239.8 kB / 0.8065 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.2946, allocations: 82.75 kB / 0.8065 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.2948, allocations: 69.69 kB / 0.8066 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2949, allocations: 350.7 kB / 0.8069 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008504/0.2958, allocations: 352.4 kB / 0.8073 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009155/0.2967, allocations: 417.1 kB / 0.8077 GB, free: 4.055 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/0.2984, allocations: 0.7243 MB / 0.8084 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2984, allocations: 4 kB / 0.8084 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004873/0.3033, allocations: 1.469 MB / 0.8098 GB, free: 1.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.3034, allocations: 8 kB / 0.8098 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.3034, allocations: 0 / 0.8098 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003327/0.3067, allocations: 0.778 MB / 0.8106 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/0.3074, allocations: 127.8 kB / 0.8107 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007064/0.3144, allocations: 4.827 MB / 0.8154 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007559/0.3152, allocations: 111.8 kB / 0.8155 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/0.3153, allocations: 19.98 kB / 0.8155 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001088/0.3164, allocations: 0.5199 MB / 0.8161 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008696/0.3173, allocations: 405.2 kB / 0.8164 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00166/0.3189, allocations: 0.7141 MB / 0.8171 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.3189, allocations: 0 / 0.8171 GB, free: 9.973 MB / 0.6387 GB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.003987/0.3229, allocations: 1.247 MB / 0.8184 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.323, allocations: 10.5 kB / 0.8184 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.323, allocations: 0 / 0.8184 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002161/0.3251, allocations: 0.4964 MB / 0.8189 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/0.3258, allocations: 131.8 kB / 0.819 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/0.3293, allocations: 2.604 MB / 0.8215 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000739/0.33, allocations: 99.83 kB / 0.8216 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.3301, allocations: 16 kB / 0.8216 GB, free: 5.223 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002003/0.3303, allocations: 208.3 kB / 0.8218 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.336e-05/0.3304, allocations: 35.61 kB / 0.8219 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004282/0.3347, allocations: 1.34 MB / 0.8232 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.3347, allocations: 11.92 kB / 0.8232 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3347, allocations: 4 kB / 0.8232 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3347, allocations: 0 / 0.8232 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005011/0.3397, allocations: 1.989 MB / 0.8251 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.3398, allocations: 4.094 kB / 0.8251 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003746/0.3402, allocations: 75.84 kB / 0.8252 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00294/0.3431, allocations: 0.7116 MB / 0.8259 GB, free: 0.7383 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.3432, allocations: 7.938 kB / 0.8259 GB, free: 0.7305 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00568/0.3488, allocations: 4.674 MB / 0.8305 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.3489, allocations: 0 / 0.8305 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0041/0.353, allocations: 1.36 MB / 0.8318 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002339/0.3532, allocations: 160.7 kB / 0.832 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.407e-05/0.3533, allocations: 4 kB / 0.832 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005385/0.3538, allocations: 91.84 kB / 0.832 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.354, allocations: 23.97 kB / 0.8321 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.354, allocations: 4 kB / 0.8321 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003463/0.3544, allocations: 299.1 kB / 0.8324 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3544, allocations: 0 / 0.8324 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007928/0.3552, allocations: 200 kB / 0.8326 GB, free: 9.605 MB / 0.6544 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001783/0.3554, allocations: 115.2 kB / 0.8327 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003473/0.3588, allocations: 1.535 MB / 0.8342 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3589, allocations: 0 / 0.8342 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.3601, allocations: 0.6301 MB / 0.8348 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/0.3607, allocations: 131.6 kB / 0.8349 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.3626, allocations: 1.05 MB / 0.8359 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.3631, allocations: 0.9132 MB / 0.8368 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004349/0.3635, allocations: 151.2 kB / 0.837 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.3637, allocations: 31.42 kB / 0.837 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.3637, allocations: 0 / 0.837 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.01777/0.3814, allocations: 12.14 MB / 0.8488 GB, free: 8.867 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)