Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008993/0.0008993, allocations: 96.03 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 176.5 kB / 16.57 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7388/0.7388, allocations: 113.8 MB / 405.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003215, allocations: 8 kB / 493.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.185, allocations: 77.14 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.002979/0.188, allocations: 2.428 MB / 0.5592 GB, free: 9.191 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.1902, allocations: 1.501 MB / 0.5607 GB, free: 7.684 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.1903, allocations: 4 kB / 0.5607 GB, free: 7.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.1905, allocations: 31.78 kB / 0.5607 GB, free: 7.648 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.1908, allocations: 115.6 kB / 0.5608 GB, free: 7.535 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.1912, allocations: 171.1 kB / 0.561 GB, free: 7.371 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.1915, allocations: 179.6 kB / 0.5611 GB, free: 7.195 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006359/0.1921, allocations: 355 kB / 0.5615 GB, free: 6.832 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.1923, allocations: 99.61 kB / 0.5616 GB, free: 6.734 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.1925, allocations: 95.66 kB / 0.5617 GB, free: 6.641 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.1925, allocations: 8 kB / 0.5617 GB, free: 6.633 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002466/0.1928, allocations: 143.8 kB / 0.5618 GB, free: 6.492 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.946e-05/0.1929, allocations: 63.81 kB / 0.5619 GB, free: 6.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.049e-05/0.1929, allocations: 61.58 kB / 0.5619 GB, free: 6.363 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.1932, allocations: 303.5 kB / 0.5622 GB, free: 6.066 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1932, allocations: 0 / 0.5622 GB, free: 6.066 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1933, allocations: 0 / 0.5622 GB, free: 6.066 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.1933, allocations: 0 / 0.5622 GB, free: 6.066 MB / 430.1 MB 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.0007429/0.194, allocations: 0.5106 MB / 0.5627 GB, free: 5.504 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1941, allocations: 12.02 kB / 0.5627 GB, free: 5.492 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007061/0.1948, allocations: 95.62 kB / 0.5628 GB, free: 5.398 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.1951, allocations: 266.2 kB / 0.5631 GB, free: 5.102 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.1951, allocations: 12.38 kB / 0.5631 GB, free: 5.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.1952, allocations: 16 kB / 0.5631 GB, free: 5.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00058/0.1957, allocations: 386.2 kB / 0.5635 GB, free: 4.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1958, allocations: 4 kB / 0.5635 GB, free: 4.656 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.1958, allocations: 11.98 kB / 0.5635 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.415e-05/0.1959, allocations: 24.31 kB / 0.5635 GB, free: 4.617 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005576/0.1964, allocations: 332.6 kB / 0.5638 GB, free: 4.293 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.1981, allocations: 1.736 MB / 0.5655 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006581/0.1988, allocations: 333.1 kB / 0.5658 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.1989, allocations: 97.08 kB / 0.5659 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.1989, allocations: 30.56 kB / 0.566 GB, free: 1.926 MB / 430.1 MB Notification: Performance of pre-optimization done (n=20): time 1.743e-06/0.1989, allocations: 0 / 0.566 GB, free: 1.926 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.001275/0.2002, allocations: 0.6058 MB / 0.5666 GB, free: 1.293 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.2003, allocations: 89.03 kB / 0.5666 GB, free: 1.188 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.2005, allocations: 200.4 kB / 0.5668 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.2005, allocations: 33.69 kB / 0.5669 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.527e-05/0.2006, allocations: 163.9 kB / 0.567 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/0.2006, allocations: 78.86 kB / 0.5671 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.465e-05/0.2007, allocations: 4 kB / 0.5671 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.2008, allocations: 326.8 kB / 0.5674 GB, free: 380 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.201, allocations: 136.5 kB / 0.5675 GB, free: 244 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.2013, allocations: 211.5 kB / 0.5677 GB, free: 16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.2016, allocations: 163.6 kB / 0.5679 GB, free: 15.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2016, allocations: 4 kB / 0.5679 GB, free: 15.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007175/0.2023, allocations: 436.4 kB / 0.5683 GB, free: 15.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003315/0.2027, allocations: 1.051 MB / 0.5693 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2027, allocations: 4 kB / 0.5694 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002224/0.2029, allocations: 44.75 kB / 0.5694 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.2032, allocations: 75.89 kB / 0.5695 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.2045, allocations: 1.497 MB / 0.5709 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.2047, allocations: 39.97 kB / 0.571 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.2047, allocations: 12 kB / 0.571 GB, free: 12.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.286e-06/0.2047, allocations: 6.344 kB / 0.571 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006451/0.2054, allocations: 374 kB / 0.5713 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.2054, allocations: 0 / 0.5713 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001212/0.2055, allocations: 48.81 kB / 0.5714 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.2058, allocations: 64.14 kB / 0.5714 GB, free: 11.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.2069, allocations: 1.501 MB / 0.5729 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.2071, allocations: 35.88 kB / 0.5729 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.2071, allocations: 16 kB / 0.573 GB, free: 10.28 MB / 446.1 MB 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.0001822/0.2073, allocations: 226.9 kB / 0.5732 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.2074, allocations: 23.77 kB / 0.5732 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006512/0.208, allocations: 371.9 kB / 0.5736 GB, free: 9.652 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.208, allocations: 4 kB / 0.5736 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2081, allocations: 0 / 0.5736 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.2081, allocations: 4 kB / 0.5736 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.2094, allocations: 0.9677 MB / 0.5745 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.2094, allocations: 4 kB / 0.5745 GB, free: 8.594 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.2097, allocations: 51.89 kB / 0.5746 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001131/0.2098, allocations: 36.83 kB / 0.5746 GB, free: 8.504 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.2098, allocations: 15.89 kB / 0.5746 GB, free: 8.488 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009821/0.2108, allocations: 1.413 MB / 0.576 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.2108, allocations: 4 kB / 0.576 GB, free: 6.938 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006843/0.2115, allocations: 0.6318 MB / 0.5766 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.2116, allocations: 129 kB / 0.5767 GB, free: 6.082 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/0.2117, allocations: 8 kB / 0.5767 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.2119, allocations: 23.97 kB / 0.5768 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/0.212, allocations: 27.91 kB / 0.5768 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.212, allocations: 12 kB / 0.5768 GB, free: 6.012 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.2121, allocations: 159.5 kB / 0.577 GB, free: 5.855 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2121, allocations: 0 / 0.577 GB, free: 5.855 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000594/0.2127, allocations: 104 kB / 0.5771 GB, free: 5.754 MB / 446.1 MB 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.0001497/0.2129, allocations: 107.2 kB / 0.5772 GB, free: 5.637 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.2141, allocations: 0.7422 MB / 0.5779 GB, free: 4.871 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2141, allocations: 0 / 0.5779 GB, free: 4.871 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003795/0.2145, allocations: 270.5 kB / 0.5781 GB, free: 4.594 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.2148, allocations: 28.42 kB / 0.5782 GB, free: 4.566 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009026/0.2157, allocations: 0.6796 MB / 0.5788 GB, free: 3.848 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.216, allocations: 0.7678 MB / 0.5796 GB, free: 3.055 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002236/0.2162, allocations: 93.86 kB / 0.5797 GB, free: 2.957 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.851e-05/0.2163, allocations: 23.44 kB / 0.5797 GB, free: 2.934 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2163, allocations: 0 / 0.5797 GB, free: 2.934 MB / 446.1 MB Notification: Performance of Templates: time 0.2832/0.4995, allocations: 2.967 MB / 0.5826 GB, free: 32.03 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)