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.628/1.628, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001261/0.001261, allocations: 177.2 kB / 371.6 MB, free: 3.391 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.609/1.609, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.000949/0.000949, allocations: 92 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.574e-05/4.578e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3477, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9158/1.264, allocations: 159.7 MB / 1.136 GB, free: 29.92 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/1.264, allocations: 84.56 kB / 1.136 GB, free: 29.89 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04327/1.307, allocations: 16.21 MB / 1.152 GB, free: 21.4 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.306e-06/1.307, allocations: 0 / 1.152 GB, free: 21.4 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.499e-05/1.307, allocations: 4 kB / 1.152 GB, free: 21.39 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.001248/1.309, allocations: 0.5221 MB / 1.152 GB, free: 20.88 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.41e-05/1.309, allocations: 8.031 kB / 1.152 GB, free: 20.87 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/1.31, allocations: 91.92 kB / 1.152 GB, free: 20.8 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/1.31, allocations: 259.9 kB / 1.153 GB, free: 20.55 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/1.31, allocations: 12.5 kB / 1.153 GB, free: 20.54 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.214e-05/1.311, allocations: 26.42 kB / 1.153 GB, free: 20.53 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007766/1.311, allocations: 355.1 kB / 1.153 GB, free: 20.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/1.311, allocations: 0 / 1.153 GB, free: 20.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.064e-05/1.311, allocations: 14.23 kB / 1.153 GB, free: 20.28 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.088e-05/1.311, allocations: 23.2 kB / 1.153 GB, free: 20.26 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006019/1.312, allocations: 298.8 kB / 1.153 GB, free: 20.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/1.314, allocations: 1.718 MB / 1.155 GB, free: 18.58 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006457/1.315, allocations: 320.3 kB / 1.155 GB, free: 18.38 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/1.315, allocations: 143.2 kB / 1.155 GB, free: 18.29 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/1.315, allocations: 83.45 kB / 1.155 GB, free: 18.19 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/1.315, allocations: 39.67 kB / 1.155 GB, free: 18.14 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 2.254e-06/1.315, allocations: 0 / 1.155 GB, free: 18.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.001004/1.316, allocations: 376.7 kB / 1.156 GB, free: 17.88 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/1.316, allocations: 84.64 kB / 1.156 GB, free: 17.79 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/1.317, allocations: 182.8 kB / 1.156 GB, free: 17.64 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/1.317, allocations: 32.52 kB / 1.156 GB, free: 17.6 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.787e-05/1.317, allocations: 160.7 kB / 1.156 GB, free: 17.46 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.619e-05/1.317, allocations: 73.41 kB / 1.156 GB, free: 17.41 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.527e-05/1.317, allocations: 3.562 kB / 1.156 GB, free: 17.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.428e-05/1.317, allocations: 326 kB / 1.157 GB, free: 17.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/1.317, allocations: 115 kB / 1.157 GB, free: 17.03 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/1.317, allocations: 206.8 kB / 1.157 GB, free: 16.85 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/1.318, allocations: 138.3 kB / 1.157 GB, free: 16.78 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/1.318, allocations: 5.969 kB / 1.157 GB, free: 16.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006692/1.318, allocations: 406.1 kB / 1.158 GB, free: 16.51 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002969/1.319, allocations: 1.045 MB / 1.159 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/1.319, allocations: 0 / 1.159 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000256/1.319, allocations: 50.97 kB / 1.159 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/1.319, allocations: 69.58 kB / 1.159 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/1.32, allocations: 1.496 MB / 1.16 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/1.321, allocations: 31.92 kB / 1.16 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/1.321, allocations: 17.33 kB / 1.16 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/1.321, allocations: 4 kB / 1.16 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005402/1.321, allocations: 331.1 kB / 1.16 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/1.321, allocations: 4 kB / 1.16 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001368/1.321, allocations: 42.03 kB / 1.161 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/1.322, allocations: 67.66 kB / 1.161 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/1.323, allocations: 1.485 MB / 1.162 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/1.323, allocations: 26.23 kB / 1.162 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/1.323, allocations: 21.27 kB / 1.162 GB, free: 12.04 MB / 0.7448 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.0001395/1.323, allocations: 124.6 kB / 1.162 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.614e-05/1.323, allocations: 15.81 kB / 1.162 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005933/1.324, allocations: 331.4 kB / 1.163 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/1.324, allocations: 4 kB / 1.163 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.324, allocations: 5.125 kB / 1.163 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/1.324, allocations: 2.344 kB / 1.163 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/1.325, allocations: 0.9435 MB / 1.163 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/1.326, allocations: 4 kB / 1.163 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/1.326, allocations: 47.67 kB / 1.164 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001266/1.326, allocations: 46.53 kB / 1.164 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/1.326, allocations: 6.875 kB / 1.164 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009717/1.327, allocations: 1.396 MB / 1.165 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.327, allocations: 4.609 kB / 1.165 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006389/1.328, allocations: 0.5901 MB / 1.166 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/1.328, allocations: 129.4 kB / 1.166 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/1.328, allocations: 10.42 kB / 1.166 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/1.328, allocations: 23.84 kB / 1.166 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.88e-05/1.328, allocations: 29.77 kB / 1.166 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/1.328, allocations: 4.656 kB / 1.166 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001621/1.328, allocations: 153.9 kB / 1.166 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.673e-06/1.328, allocations: 0 / 1.166 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006644/1.329, allocations: 125.6 kB / 1.166 GB, free: 8.555 MB / 0.7448 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.0002227/1.329, allocations: 114.4 kB / 1.166 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001119/1.33, allocations: 0.6868 MB / 1.167 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.33, allocations: 5.312 kB / 1.167 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003143/1.331, allocations: 255.9 kB / 1.167 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/1.331, allocations: 29.83 kB / 1.167 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008235/1.332, allocations: 426.9 kB / 1.167 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/1.332, allocations: 0.7766 MB / 1.168 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003243/1.333, allocations: 100.3 kB / 1.168 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.593e-05/1.333, allocations: 24.78 kB / 1.168 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/1.333, allocations: 3.938 kB / 1.168 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of Templates: time 0.007814/1.34, allocations: 3.159 MB / 1.171 GB, free: 4.711 MB / 0.7448 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)