Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.57/1.57, allocations: 287.4 MB / 302.6 MB, free: 8.215 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.0009644/0.0009642, allocations: 186.1 kB / 371.1 MB, free: 10.82 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.329/1.329, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006557/0.0006558, allocations: 100.3 kB / 0.7431 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003273, allocations: 11.84 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1581, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.002289/0.1604, allocations: 2.49 MB / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.1621, allocations: 1.568 MB / 0.9827 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.961e-05/0.1622, allocations: 11.94 kB / 0.9827 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.1623, allocations: 27.78 kB / 0.9827 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.1626, allocations: 143.4 kB / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.163, allocations: 167.6 kB / 0.983 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.1632, allocations: 350.9 kB / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005026/0.1637, allocations: 371.3 kB / 0.9837 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.1639, allocations: 111.6 kB / 0.9838 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.164, allocations: 135.5 kB / 0.984 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.1641, allocations: 12 kB / 0.984 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.1643, allocations: 135.8 kB / 0.9841 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.5e-05/0.1643, allocations: 71.78 kB / 0.9842 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.1644, allocations: 65.52 kB / 0.9842 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.1646, allocations: 311.2 kB / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1646, allocations: 0 / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1646, allocations: 0 / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.1646, allocations: 0 / 0.9845 GB, free: 22.11 MB / 0.6198 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.0005441/0.1652, allocations: 0.5068 MB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.1652, allocations: 12.03 kB / 0.985 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/0.1652, allocations: 54.73 kB / 0.9851 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005397/0.1658, allocations: 92.48 kB / 0.9852 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.166, allocations: 261.2 kB / 0.9854 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.166, allocations: 12.75 kB / 0.9854 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.1661, allocations: 20.38 kB / 0.9854 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004434/0.1665, allocations: 390.1 kB / 0.9858 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1665, allocations: 3.938 kB / 0.9858 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.1666, allocations: 8 kB / 0.9858 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.342e-05/0.1666, allocations: 24.31 kB / 0.9859 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004753/0.1671, allocations: 336.6 kB / 0.9862 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.1682, allocations: 1.713 MB / 0.9878 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005442/0.1688, allocations: 345 kB / 0.9882 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.169, allocations: 157.6 kB / 0.9883 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.863e-05/0.1691, allocations: 93.08 kB / 0.9884 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.082e-05/0.1691, allocations: 34.56 kB / 0.9885 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.402e-06/0.1692, allocations: 4 kB / 0.9885 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.00103/0.1702, allocations: 0.6138 MB / 0.9891 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.1702, allocations: 81.11 kB / 0.9891 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.1703, allocations: 204.3 kB / 0.9893 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.1704, allocations: 33.7 kB / 0.9894 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.1704, allocations: 151.9 kB / 0.9895 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.1705, allocations: 78.98 kB / 0.9896 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.1705, allocations: 4 kB / 0.9896 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.787e-05/0.1705, allocations: 326.8 kB / 0.9899 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.1707, allocations: 136.5 kB / 0.99 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.171, allocations: 223.2 kB / 0.9902 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004181/0.1714, allocations: 374.9 kB / 0.9906 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1714, allocations: 0 / 0.9906 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005915/0.172, allocations: 441.2 kB / 0.991 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.515e-05/0.1721, allocations: 170.6 kB / 0.9912 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.1721, allocations: 4 kB / 0.9912 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001744/0.1722, allocations: 40.83 kB / 0.9912 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002615/0.1725, allocations: 75.88 kB / 0.9913 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008443/0.1734, allocations: 1.493 MB / 0.9928 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.1736, allocations: 31.88 kB / 0.9928 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.1736, allocations: 12 kB / 0.9928 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.793e-06/0.1736, allocations: 4 kB / 0.9928 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005309/0.1742, allocations: 368.3 kB / 0.9931 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.1742, allocations: 4.344 kB / 0.9932 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001007/0.1743, allocations: 48.98 kB / 0.9932 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.1745, allocations: 71.89 kB / 0.9933 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000711/0.1752, allocations: 1.477 MB / 0.9947 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.1754, allocations: 23.97 kB / 0.9947 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.1754, allocations: 19.94 kB / 0.9948 GB, free: 10.84 MB / 0.6198 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.0001077/0.1755, allocations: 242 kB / 0.995 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.252e-05/0.1756, allocations: 27.78 kB / 0.995 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005291/0.1761, allocations: 358.3 kB / 0.9954 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.1761, allocations: 8 kB / 0.9954 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1761, allocations: 0 / 0.9954 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1762, allocations: 3.938 kB / 0.9954 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.1772, allocations: 0.9736 MB / 0.9963 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1772, allocations: 4.062 kB / 0.9963 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.1774, allocations: 55.89 kB / 0.9964 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.542e-05/0.1775, allocations: 45.05 kB / 0.9964 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.1775, allocations: 7.938 kB / 0.9964 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006305/0.1782, allocations: 1.402 MB / 0.9978 GB, free: 7.496 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.1782, allocations: 11.91 kB / 0.9978 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004918/0.1787, allocations: 0.5393 MB / 0.9983 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.642e-05/0.1788, allocations: 132.7 kB / 0.9985 GB, free: 6.758 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.1788, allocations: 8 kB / 0.9985 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.179, allocations: 23.97 kB / 0.9985 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.1791, allocations: 15.98 kB / 0.9985 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.1791, allocations: 11.98 kB / 0.9985 GB, free: 6.699 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.662e-05/0.1792, allocations: 155.7 kB / 0.9987 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1792, allocations: 0 / 0.9987 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004489/0.1796, allocations: 104 kB / 0.9988 GB, free: 6.445 MB / 0.6198 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.0006492/0.1803, allocations: 1.084 MB / 0.9998 GB, free: 5.312 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009083/0.1812, allocations: 0.7539 MB / 1.001 GB, free: 4.535 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1812, allocations: 0 / 1.001 GB, free: 4.535 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.1815, allocations: 275.4 kB / 1.001 GB, free: 4.254 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.1819, allocations: 35.97 kB / 1.001 GB, free: 4.219 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.1838, allocations: 1.657 MB / 1.002 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.1839, allocations: 0.7716 MB / 1.003 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002056/0.1841, allocations: 85.95 kB / 1.003 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.686e-05/0.1843, allocations: 67.42 kB / 1.003 GB, free: 1.508 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.1843, allocations: 0 / 1.003 GB, free: 1.508 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3154/0.4996, allocations: 5.173 MB / 1.008 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000258/0.4999, allocations: 211.1 kB / 1.009 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/2.381, allocations: 2.391 kB / 1.009 GB, free: 12.29 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)