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.783/1.783, allocations: 292.6 MB / 307.5 MB, free: 5.238 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.001517/0.001517, allocations: 186.8 kB / 377.1 MB, free: 1.547 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.932/1.932, allocations: 205.4 MB / 0.6367 GB, free: 9.602 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.0009002/0.0009005, allocations: 95.14 kB / 0.751 GB, free: 62.67 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005037/0.0005039, allocations: 8 kB / 0.8748 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3501, allocations: 116.3 MB / 0.9884 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9445/1.295, allocations: 159.8 MB / 1.144 GB, free: 19.34 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000392/1.295, allocations: 86.72 kB / 1.145 GB, free: 19.27 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04075/1.336, allocations: 16.32 MB / 1.16 GB, free: 6.457 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.134e-06/1.336, allocations: 0 / 1.16 GB, free: 6.457 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.913e-05/1.336, allocations: 4 kB / 1.16 GB, free: 6.453 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009815/1.337, allocations: 0.543 MB / 1.161 GB, free: 5.863 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.337, allocations: 12.03 kB / 1.161 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008055/1.338, allocations: 89.69 kB / 1.161 GB, free: 5.766 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/1.338, allocations: 259.9 kB / 1.161 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/1.338, allocations: 16.38 kB / 1.161 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/1.338, allocations: 19.91 kB / 1.161 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006613/1.339, allocations: 378.6 kB / 1.162 GB, free: 5.039 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/1.339, allocations: 3.938 kB / 1.162 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.306e-05/1.339, allocations: 8 kB / 1.162 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.766e-05/1.339, allocations: 30.03 kB / 1.162 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/1.34, allocations: 328.7 kB / 1.162 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/1.341, allocations: 1.721 MB / 1.164 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006022/1.342, allocations: 341.8 kB / 1.164 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/1.342, allocations: 85.09 kB / 1.164 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/1.342, allocations: 46.55 kB / 1.164 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/1.342, allocations: 0 / 1.164 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21): time 0.001321/1.343, allocations: 0.6099 MB / 1.165 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/1.344, allocations: 77.11 kB / 1.165 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/1.344, allocations: 187.5 kB / 1.165 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/1.344, allocations: 33.64 kB / 1.165 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/1.344, allocations: 163.9 kB / 1.165 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/1.344, allocations: 70.94 kB / 1.165 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.571e-05/1.344, allocations: 4 kB / 1.165 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.215e-05/1.344, allocations: 334.8 kB / 1.166 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/1.344, allocations: 135.9 kB / 1.166 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/1.344, allocations: 218.8 kB / 1.166 GB, free: 400 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/1.345, allocations: 156.9 kB / 1.166 GB, free: 244 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.345, allocations: 4 kB / 1.166 GB, free: 240 kB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007705/1.345, allocations: 439.1 kB / 1.167 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006112/1.346, allocations: 1.051 MB / 1.168 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.085e-05/1.346, allocations: 4 kB / 1.168 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002808/1.346, allocations: 40.81 kB / 1.168 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/1.347, allocations: 71.89 kB / 1.168 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/1.348, allocations: 1.503 MB / 1.169 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/1.349, allocations: 35.94 kB / 1.169 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/1.349, allocations: 20.02 kB / 1.169 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/1.349, allocations: 7.938 kB / 1.169 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007252/1.35, allocations: 371 kB / 1.17 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/1.35, allocations: 0 / 1.17 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001447/1.35, allocations: 48.81 kB / 1.17 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/1.35, allocations: 63.89 kB / 1.17 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/1.351, allocations: 1.496 MB / 1.171 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/1.352, allocations: 35.81 kB / 1.171 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/1.352, allocations: 12 kB / 1.171 GB, free: 10.7 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 () * Number of clocked 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.0002812/1.352, allocations: 237.6 kB / 1.171 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.146e-05/1.352, allocations: 19.72 kB / 1.171 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007118/1.353, allocations: 371 kB / 1.172 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/1.353, allocations: 4 kB / 1.172 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/1.353, allocations: 0 / 1.172 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/1.353, allocations: 4 kB / 1.172 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/1.354, allocations: 0.9777 MB / 1.173 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/1.355, allocations: 224 / 1.173 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/1.355, allocations: 51.95 kB / 1.173 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000134/1.355, allocations: 40.77 kB / 1.173 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/1.355, allocations: 8 kB / 1.173 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/1.356, allocations: 1.42 MB / 1.174 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.356, allocations: 4.031 kB / 1.174 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008736/1.357, allocations: 0.6264 MB / 1.175 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/1.357, allocations: 124.7 kB / 1.175 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/1.357, allocations: 8 kB / 1.175 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/1.358, allocations: 23.97 kB / 1.175 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/1.358, allocations: 31.8 kB / 1.175 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/1.358, allocations: 12 kB / 1.175 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001648/1.358, allocations: 151 kB / 1.175 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.358, allocations: 0 / 1.175 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007189/1.359, allocations: 116 kB / 1.175 GB, free: 6.16 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 () * Number of clocked 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.0002331/1.359, allocations: 127.1 kB / 1.175 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001407/1.36, allocations: 0.7331 MB / 1.176 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/1.36, allocations: 0.9375 kB / 1.176 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000424/1.361, allocations: 274.6 kB / 1.176 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/1.361, allocations: 30.7 kB / 1.176 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/1.363, allocations: 0.6788 MB / 1.177 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/1.363, allocations: 0.7756 MB / 1.178 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002784/1.363, allocations: 91.61 kB / 1.178 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.704e-05/1.363, allocations: 19.44 kB / 1.178 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/1.363, allocations: 0 / 1.178 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of Templates: time 0.007934/1.371, allocations: 2.975 MB / 1.181 GB, free: 400 kB / 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)