Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.772/1.772, allocations: 292.3 MB / 308.1 MB, free: 4.266 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.001679/0.001679, allocations: 187.4 kB / 376.9 MB, free: 1.812 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.8/1.8, allocations: 205.1 MB / 0.6354 GB, free: 9.797 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.0009654/0.0009654, allocations: 98.97 kB / 0.748 GB, free: 61.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001152, allocations: 59.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.236, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.007937/0.2439, allocations: 5.18 MB / 0.9873 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.006314/0.2503, allocations: 3.791 MB / 0.991 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006804/0.251, allocations: 11.94 kB / 0.991 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002305/0.2534, allocations: 0.549 MB / 0.9915 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.255, allocations: 418.4 kB / 0.9919 GB, free: 412 kB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006735/0.2557, allocations: 235.5 kB / 0.9922 GB, free: 176 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001334/0.257, allocations: 0.9115 MB / 0.993 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008009/0.2578, allocations: 0.4975 MB / 0.9935 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006219/0.2585, allocations: 323.1 kB / 0.9938 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006285/0.2591, allocations: 294.9 kB / 0.9941 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.2592, allocations: 24 kB / 0.9941 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007535/0.26, allocations: 331.4 kB / 0.9945 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.2602, allocations: 159.5 kB / 0.9946 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003284/0.2606, allocations: 218.9 kB / 0.9948 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.2616, allocations: 0.8334 MB / 0.9956 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2616, allocations: 4 kB / 0.9956 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2616, allocations: 0 / 0.9956 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.676e-05/0.2616, allocations: 0 / 0.9956 GB, free: 12.6 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001929/0.2636, allocations: 0.8025 MB / 0.9964 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.2636, allocations: 8.031 kB / 0.9964 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002906/0.2665, allocations: 0.675 MB / 0.9971 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008949/0.2674, allocations: 460.4 kB / 0.9975 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.2675, allocations: 25.02 kB / 0.9976 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.203e-05/0.2676, allocations: 32.12 kB / 0.9976 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.2692, allocations: 0.8239 MB / 0.9984 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.2692, allocations: 3.938 kB / 0.9984 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.947e-05/0.2693, allocations: 12 kB / 0.9984 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001731/0.2694, allocations: 60.58 kB / 0.9985 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/0.2715, allocations: 0.9194 MB / 0.9994 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003928/0.2754, allocations: 2.859 MB / 1.002 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.2771, allocations: 0.5449 MB / 1.003 GB, free: 5.039 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007411/0.2779, allocations: 304.6 kB / 1.003 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.278, allocations: 85.09 kB / 1.003 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.278, allocations: 34.56 kB / 1.003 GB, free: 4.594 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 3.056e-06/0.278, allocations: 3.984 kB / 1.003 GB, free: 4.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36): time 0.01318/0.2912, allocations: 3.772 MB / 1.007 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.2913, allocations: 55.41 kB / 1.007 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004679/0.2918, allocations: 433.5 kB / 1.007 GB, free: 296 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/0.2918, allocations: 37.64 kB / 1.007 GB, free: 252 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.292, allocations: 240.1 kB / 1.008 GB, free: 4 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.2921, allocations: 122.3 kB / 1.008 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.2923, allocations: 86.05 kB / 1.008 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2924, allocations: 350.8 kB / 1.008 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009705/0.2934, allocations: 430.2 kB / 1.008 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.2944, allocations: 488.9 kB / 1.009 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/0.2964, allocations: 0.9075 MB / 1.01 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.2965, allocations: 4 kB / 1.01 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005627/0.3021, allocations: 1.814 MB / 1.012 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.3021, allocations: 11.98 kB / 1.012 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.3021, allocations: 0 / 1.012 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004273/0.3064, allocations: 0.9731 MB / 1.013 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006099/0.3071, allocations: 123.8 kB / 1.013 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009879/0.3169, allocations: 6.125 MB / 1.019 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008351/0.3178, allocations: 107.8 kB / 1.019 GB, free: 4.137 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.644e-05/0.3179, allocations: 19.98 kB / 1.019 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001301/0.3192, allocations: 0.61 MB / 1.019 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001018/0.3202, allocations: 492.5 kB / 1.02 GB, free: 2.988 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001943/0.3222, allocations: 0.8665 MB / 1.021 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.407e-05/0.3222, allocations: 0 / 1.021 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0049/0.3271, allocations: 1.594 MB / 1.022 GB, free: 496 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3272, allocations: 4 kB / 1.022 GB, free: 492 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3272, allocations: 4.188 kB / 1.022 GB, free: 488 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4663/0.7935, allocations: 0.7006 MB / 1.023 GB, free: 98.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007379/0.7943, allocations: 127.1 kB / 1.023 GB, free: 98.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007136/0.8014, allocations: 5.349 MB / 1.028 GB, free: 96.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000843/0.8023, allocations: 103.7 kB / 1.028 GB, free: 96.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-05/0.8024, allocations: 15.16 kB / 1.028 GB, free: 96.14 MB / 0.7448 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001724/0.8026, allocations: 209.5 kB / 1.029 GB, free: 95.95 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.8027, allocations: 40.41 kB / 1.029 GB, free: 95.95 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004998/0.8077, allocations: 1.711 MB / 1.03 GB, free: 95.88 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.8077, allocations: 3.875 kB / 1.03 GB, free: 95.88 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.8078, allocations: 3.469 kB / 1.03 GB, free: 95.88 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.557e-06/0.8078, allocations: 3.281 kB / 1.03 GB, free: 95.88 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005704/0.8135, allocations: 2.41 MB / 1.033 GB, free: 95.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.8135, allocations: 0.6875 kB / 1.033 GB, free: 95.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/0.8139, allocations: 79.05 kB / 1.033 GB, free: 95.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003754/0.8176, allocations: 0.8926 MB / 1.034 GB, free: 95.51 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.99e-05/0.8177, allocations: 7.781 kB / 1.034 GB, free: 95.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009346/0.8271, allocations: 5.817 MB / 1.039 GB, free: 93.01 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8271, allocations: 1.547 kB / 1.039 GB, free: 93.01 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007841/0.835, allocations: 2.791 MB / 1.042 GB, free: 92.21 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004062/0.8354, allocations: 187.4 kB / 1.042 GB, free: 92.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.358e-05/0.8355, allocations: 8.453 kB / 1.042 GB, free: 92.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007016/0.8362, allocations: 84.58 kB / 1.042 GB, free: 92.09 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002675/0.8365, allocations: 32.8 kB / 1.042 GB, free: 92.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/0.8366, allocations: 15.81 kB / 1.042 GB, free: 92.09 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004202/0.837, allocations: 316.3 kB / 1.043 GB, free: 91.94 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/0.837, allocations: 4.891 kB / 1.043 GB, free: 91.94 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001586/0.8386, allocations: 266.3 kB / 1.043 GB, free: 91.91 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 () * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002947/0.8389, allocations: 110.3 kB / 1.043 GB, free: 91.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.007085/0.846, allocations: 2.425 MB / 1.045 GB, free: 90.87 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.604e-05/0.8461, allocations: 1.125 kB / 1.045 GB, free: 90.87 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002974/0.849, allocations: 0.9507 MB / 1.046 GB, free: 90.47 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.8501, allocations: 119.7 kB / 1.046 GB, free: 90.44 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.8529, allocations: 1.673 MB / 1.048 GB, free: 89.52 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.8534, allocations: 0.9682 MB / 1.049 GB, free: 88.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005364/0.8539, allocations: 151.3 kB / 1.049 GB, free: 88.74 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.854, allocations: 37.59 kB / 1.049 GB, free: 88.73 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.8541, allocations: 0 / 1.049 GB, free: 88.73 MB / 0.7448 GB Notification: Performance of Templates: time 0.02034/0.8744, allocations: 16 MB / 1.065 GB, free: 88.04 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)