Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.613/1.613, allocations: 289.9 MB / 297.4 MB, free: 6.398 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.001147/0.001147, allocations: 184.8 kB / 366.7 MB, free: 1.688 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.613/1.613, allocations: 205.2 MB / 0.626 GB, free: 7.191 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.0008834/0.0008834, allocations: 104.7 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.479e-05/1.481e-05, allocations: 0 / 0.8597 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6587/0.6587, allocations: 116.3 MB / 0.9732 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2101/0.8689, allocations: 159.1 MB / 1.129 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.8692, allocations: 88.44 kB / 1.129 GB, free: 7.035 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03902/0.9082, allocations: 16.16 MB / 1.144 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.502e-06/0.9083, allocations: 0 / 1.144 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.363e-05/0.9083, allocations: 8 kB / 1.144 GB, free: 6.809 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008672/0.9092, allocations: 0.5215 MB / 1.145 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.9093, allocations: 8.031 kB / 1.145 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008546/0.9101, allocations: 91.62 kB / 1.145 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.9105, allocations: 262.6 kB / 1.145 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.9106, allocations: 4 kB / 1.145 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/0.9106, allocations: 19.94 kB / 1.145 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004135/0.911, allocations: 220.7 kB / 1.146 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005132/0.9116, allocations: 321.4 kB / 1.146 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.9116, allocations: 8 kB / 1.146 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.9116, allocations: 0 / 1.146 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.942e-05/0.9117, allocations: 24.31 kB / 1.146 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001904/0.9136, allocations: 1.67 MB / 1.148 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006469/0.9143, allocations: 297.2 kB / 1.148 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.9145, allocations: 137.7 kB / 1.148 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001863/0.9147, allocations: 93.08 kB / 1.148 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.9147, allocations: 42.31 kB / 1.148 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.422e-06/0.9147, allocations: 0 / 1.148 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0009098/0.9156, allocations: 362.5 kB / 1.148 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.9157, allocations: 89.11 kB / 1.149 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.9159, allocations: 177.5 kB / 1.149 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.9159, allocations: 25.7 kB / 1.149 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.9161, allocations: 160 kB / 1.149 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.049e-05/0.9161, allocations: 67 kB / 1.149 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.521e-05/0.9162, allocations: 0 / 1.149 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.9163, allocations: 328.6 kB / 1.149 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.9165, allocations: 108 kB / 1.149 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.9168, allocations: 202.3 kB / 1.15 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.917, allocations: 140.8 kB / 1.15 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.917, allocations: 4 kB / 1.15 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006569/0.9177, allocations: 387.6 kB / 1.15 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006445/0.9184, allocations: 1.044 MB / 1.151 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.9184, allocations: 0 / 1.151 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002491/0.9186, allocations: 52.84 kB / 1.151 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.919, allocations: 71.89 kB / 1.151 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.9204, allocations: 1.426 MB / 1.153 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.9206, allocations: 27.88 kB / 1.153 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.9207, allocations: 12 kB / 1.153 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.9207, allocations: 4 kB / 1.153 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005636/0.9212, allocations: 312.5 kB / 1.153 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.9213, allocations: 0 / 1.153 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001212/0.9214, allocations: 40.83 kB / 1.153 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.9217, allocations: 67.89 kB / 1.153 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/0.9228, allocations: 1.447 MB / 1.154 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.9229, allocations: 23.44 kB / 1.154 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.923, allocations: 8 kB / 1.154 GB, free: 11.87 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.9231, allocations: 116.9 kB / 1.155 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.037e-05/0.9232, allocations: 27.67 kB / 1.155 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005389/0.9237, allocations: 314.3 kB / 1.155 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.9237, allocations: 4 kB / 1.155 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.9237, allocations: 0 / 1.155 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.9238, allocations: 8 kB / 1.155 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.9249, allocations: 0.8796 MB / 1.156 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.9249, allocations: 224 / 1.156 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.9251, allocations: 63.89 kB / 1.156 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001082/0.9253, allocations: 32.83 kB / 1.156 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.9253, allocations: 4 kB / 1.156 GB, free: 10.35 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.9263, allocations: 1.35 MB / 1.157 GB, free: 8.895 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-06/0.9263, allocations: 11.97 kB / 1.157 GB, free: 8.883 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006204/0.927, allocations: 0.5783 MB / 1.158 GB, free: 8.223 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.9271, allocations: 124.8 kB / 1.158 GB, free: 8.082 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.9271, allocations: 7.938 kB / 1.158 GB, free: 8.074 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.9274, allocations: 19.97 kB / 1.158 GB, free: 8.055 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.337e-05/0.9274, allocations: 27.91 kB / 1.158 GB, free: 8.027 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.9275, allocations: 8 kB / 1.158 GB, free: 8.02 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000127/0.9276, allocations: 144.2 kB / 1.158 GB, free: 7.879 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9276, allocations: 0 / 1.158 GB, free: 7.879 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006115/0.9282, allocations: 107.9 kB / 1.158 GB, free: 7.773 MB / 0.7605 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001843/0.9284, allocations: 119.1 kB / 1.158 GB, free: 7.645 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009216/0.9293, allocations: 0.6407 MB / 1.159 GB, free: 6.988 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.9294, allocations: 0 / 1.159 GB, free: 6.988 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000294/0.9297, allocations: 243 kB / 1.159 GB, free: 6.742 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.93, allocations: 23.98 kB / 1.159 GB, free: 6.719 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006904/0.9307, allocations: 404.1 kB / 1.16 GB, free: 6.285 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.931, allocations: 0.7793 MB / 1.16 GB, free: 5.48 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002621/0.9313, allocations: 93.97 kB / 1.16 GB, free: 5.391 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.827e-05/0.9314, allocations: 29.72 kB / 1.16 GB, free: 5.363 MB / 0.7605 GB Notification: Performance of SimCode: time 2.5e-07/0.9314, allocations: 0 / 1.16 GB, free: 5.363 MB / 0.7605 GB Notification: Performance of Templates: time 0.005929/0.9373, allocations: 2.997 MB / 1.163 GB, free: 2.426 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)