Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009495/0.0009495, allocations: 84.8 kB / 21.62 MB, free: 2.84 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000998/0.000998, allocations: 168.7 kB / 25.05 MB, free: 9.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9321/0.9321, allocations: 177.1 MB / 205.5 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.844/1.844, allocations: 389.6 MB / 0.6363 GB, free: 12.25 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 4 kB / 0.7761 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.54e-05, allocations: 7.188 kB / 0.7761 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.002875/0.002901, allocations: 2.432 MB / 0.7785 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.004672, allocations: 1.336 MB / 0.7798 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.004794, allocations: 7.938 kB / 0.7798 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004057/0.005199, allocations: 87.52 kB / 0.7799 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.005512, allocations: 173.7 kB / 0.78 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.005853, allocations: 183.4 kB / 0.7802 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003062/0.006159, allocations: 334.8 kB / 0.7805 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002374/0.006397, allocations: 160.6 kB / 0.7807 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.006671, allocations: 187.6 kB / 0.7809 GB, free: 424 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.006893, allocations: 139.6 kB / 0.781 GB, free: 284 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.006922, allocations: 21.16 kB / 0.781 GB, free: 264 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002623/0.007185, allocations: 187.6 kB / 0.7812 GB, free: 76 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.911e-05/0.007274, allocations: 91.81 kB / 0.7813 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.238e-05/0.007336, allocations: 88.72 kB / 0.7814 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.007681, allocations: 311 kB / 0.7817 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.007684, allocations: 0 / 0.7817 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.252e-06/0.007685, allocations: 0.5938 kB / 0.7817 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.007691, allocations: 4.469 kB / 0.7817 GB, free: 15.59 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.0004886/0.008179, allocations: 436.8 kB / 0.7821 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.008212, allocations: 9.344 kB / 0.7821 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005481/0.00876, allocations: 147 kB / 0.7822 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.008979, allocations: 184.2 kB / 0.7824 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.008993, allocations: 13.41 kB / 0.7824 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.009029, allocations: 21.05 kB / 0.7825 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000316/0.009345, allocations: 298.2 kB / 0.7827 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.009358, allocations: 12.08 kB / 0.7827 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.885e-05/0.009376, allocations: 4.375 kB / 0.7828 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-05/0.009412, allocations: 32.25 kB / 0.7828 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.009547, allocations: 98.41 kB / 0.7829 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.01071, allocations: 1.137 MB / 0.784 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.01097, allocations: 211.4 kB / 0.7842 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.451e-05/0.01103, allocations: 41.7 kB / 0.7842 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.352e-05/0.0111, allocations: 14.44 kB / 0.7842 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.01112, allocations: 34.56 kB / 0.7843 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.994e-06/0.01112, allocations: 0 / 0.7843 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0004829/0.01161, allocations: 196.4 kB / 0.7845 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.01164, allocations: 89.03 kB / 0.7845 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.01176, allocations: 197.3 kB / 0.7847 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.01178, allocations: 25.7 kB / 0.7848 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.01184, allocations: 164.1 kB / 0.7849 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.01188, allocations: 72.27 kB / 0.785 GB, free: 12 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-05/0.01194, allocations: 61.94 kB / 0.785 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.731e-05/0.01202, allocations: 326.8 kB / 0.7854 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.666e-05/0.01208, allocations: 38.91 kB / 0.7854 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.752e-05/0.01216, allocations: 120.2 kB / 0.7855 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/0.01233, allocations: 182.6 kB / 0.7857 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.01233, allocations: 1.75 kB / 0.7857 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002624/0.01259, allocations: 207.6 kB / 0.7859 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.01261, allocations: 8 kB / 0.7859 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01261, allocations: 3.938 kB / 0.7859 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001529/0.01276, allocations: 41.7 kB / 0.7859 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.01293, allocations: 67.89 kB / 0.786 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007532/0.01369, allocations: 1.293 MB / 0.7873 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.01381, allocations: 20.77 kB / 0.7873 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.01383, allocations: 15.98 kB / 0.7873 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001217/0.01395, allocations: 120.7 kB / 0.7874 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000116/0.01407, allocations: 115.6 kB / 0.7875 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002176/0.01428, allocations: 184.6 kB / 0.7877 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.876e-06/0.01429, allocations: 4 kB / 0.7877 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.000248/0.01453, allocations: 205.4 kB / 0.7879 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.705e-06/0.01454, allocations: 7.938 kB / 0.7879 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.01455, allocations: 4.875 kB / 0.7879 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001047/0.01465, allocations: 41.41 kB / 0.7879 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.01481, allocations: 63.89 kB / 0.788 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006512/0.01546, allocations: 1.291 MB / 0.7893 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.01557, allocations: 27.81 kB / 0.7893 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.01559, allocations: 8 kB / 0.7893 GB, free: 7.215 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.719e-05/0.01567, allocations: 194.6 kB / 0.7895 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.01572, allocations: 19.98 kB / 0.7895 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.01592, allocations: 168.1 kB / 0.7897 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01592, allocations: 4 kB / 0.7897 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.01592, allocations: 0 / 0.7897 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.01593, allocations: 5.172 kB / 0.7897 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008701/0.0168, allocations: 0.6085 MB / 0.7903 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.0168, allocations: 4 kB / 0.7903 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.0169, allocations: 39.91 kB / 0.7903 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.07e-05/0.01699, allocations: 44.3 kB / 0.7904 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.017, allocations: 4.656 kB / 0.7904 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005523/0.01756, allocations: 1.232 MB / 0.7916 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.01756, allocations: 0 / 0.7916 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.01781, allocations: 461.3 kB / 0.792 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.01786, allocations: 43.77 kB / 0.792 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.01788, allocations: 8.688 kB / 0.7921 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.01798, allocations: 5.031 kB / 0.7921 GB, free: 4.176 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.01803, allocations: 23.91 kB / 0.7921 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.01804, allocations: 8 kB / 0.7921 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.188e-05/0.01809, allocations: 66.58 kB / 0.7922 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3e-08/0.01809, allocations: 0 / 0.7922 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003528/0.01844, allocations: 113.1 kB / 0.7923 GB, free: 3.969 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001142/0.01856, allocations: 93.33 kB / 0.7924 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005061/0.01906, allocations: 490.4 kB / 0.7928 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.01907, allocations: 0 / 0.7928 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.0192, allocations: 185.1 kB / 0.793 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.01947, allocations: 44.05 kB / 0.793 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007162/0.02018, allocations: 0.5119 MB / 0.7935 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.341e-05/0.02026, allocations: 104.5 kB / 0.7936 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001261/0.02038, allocations: 42.55 kB / 0.7937 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.02049, allocations: 83.36 kB / 0.7938 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of SimCode: time 1.563e-06/0.02049, allocations: 0 / 0.7938 GB, free: 2.332 MB / 0.7448 GB Notification: Performance of Templates: time 0.00675/0.02724, allocations: 3.858 MB / 0.7975 GB, free: 14.59 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.946948572061956]