Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.458/1.458, allocations: 288.4 MB / 303.6 MB, free: 8.074 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.0009351/0.0009351, allocations: 184.5 kB / 372.3 MB, free: 10.13 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.105/1.105, allocations: 205.4 MB / 0.631 GB, free: 9.816 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.0006563/0.0006566, allocations: 90.36 kB / 0.7444 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003103, allocations: 11.78 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1471, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.00214/0.1493, allocations: 2.494 MB / 0.9826 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.1508, allocations: 1.572 MB / 0.9842 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.901e-05/0.1509, allocations: 3.938 kB / 0.9842 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.1511, allocations: 31.78 kB / 0.9842 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.1514, allocations: 167.3 kB / 0.9843 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.1517, allocations: 189.2 kB / 0.9845 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.152, allocations: 350.9 kB / 0.9849 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005068/0.1525, allocations: 391.2 kB / 0.9852 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.1526, allocations: 99.62 kB / 0.9853 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.1528, allocations: 143.5 kB / 0.9855 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.1528, allocations: 8 kB / 0.9855 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002765/0.1531, allocations: 291.4 kB / 0.9858 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.642e-05/0.1532, allocations: 71.8 kB / 0.9858 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.523e-05/0.1532, allocations: 129.2 kB / 0.9859 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.1535, allocations: 307.2 kB / 0.9862 GB, free: 21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1535, allocations: 0 / 0.9862 GB, free: 21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1535, allocations: 0 / 0.9862 GB, free: 21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.1535, allocations: 0 / 0.9862 GB, free: 21 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.0005808/0.1541, allocations: 0.5107 MB / 0.9867 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.1541, allocations: 8.031 kB / 0.9867 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.1542, allocations: 54.73 kB / 0.9868 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005513/0.1547, allocations: 92.56 kB / 0.9869 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.155, allocations: 265.3 kB / 0.9871 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.155, allocations: 16.75 kB / 0.9872 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.155, allocations: 20.38 kB / 0.9872 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004527/0.1555, allocations: 382.4 kB / 0.9875 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1555, allocations: 0 / 0.9875 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.1555, allocations: 8 kB / 0.9875 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.311e-05/0.1556, allocations: 28.25 kB / 0.9876 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004616/0.156, allocations: 336.6 kB / 0.9879 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.1572, allocations: 1.724 MB / 0.9896 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000542/0.1578, allocations: 333.1 kB / 0.9899 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.158, allocations: 157.6 kB / 0.99 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.1581, allocations: 93.08 kB / 0.9901 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.181e-05/0.1581, allocations: 38.5 kB / 0.9902 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.312e-06/0.1581, allocations: 0 / 0.9902 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.001029/0.1592, allocations: 0.6087 MB / 0.9908 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.972e-05/0.1592, allocations: 81.3 kB / 0.9908 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.1593, allocations: 216.2 kB / 0.991 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.1593, allocations: 25.7 kB / 0.9911 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.1594, allocations: 159.9 kB / 0.9912 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.1594, allocations: 70.98 kB / 0.9913 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/0.1595, allocations: 8 kB / 0.9913 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.689e-05/0.1595, allocations: 326.8 kB / 0.9916 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.1597, allocations: 136.5 kB / 0.9917 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.1599, allocations: 219.3 kB / 0.992 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004287/0.1604, allocations: 378.6 kB / 0.9923 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1604, allocations: 4 kB / 0.9923 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005928/0.161, allocations: 433.9 kB / 0.9927 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.396e-05/0.161, allocations: 166.6 kB / 0.9929 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.161, allocations: 0 / 0.9929 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/0.1612, allocations: 52.75 kB / 0.9929 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.1615, allocations: 75.88 kB / 0.993 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008846/0.1624, allocations: 1.481 MB / 0.9945 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.1626, allocations: 35.89 kB / 0.9945 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.1626, allocations: 16 kB / 0.9945 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.759e-06/0.1626, allocations: 4 kB / 0.9945 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005391/0.1632, allocations: 376.2 kB / 0.9949 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.1632, allocations: 8.062 kB / 0.9949 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001021/0.1633, allocations: 45.17 kB / 0.9949 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.1635, allocations: 63.89 kB / 0.995 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007128/0.1642, allocations: 1.485 MB / 0.9964 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/0.1644, allocations: 28 kB / 0.9965 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.1644, allocations: 8 kB / 0.9965 GB, free: 9.727 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.0001052/0.1646, allocations: 240.9 kB / 0.9967 GB, free: 9.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.1646, allocations: 19.72 kB / 0.9967 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005392/0.1652, allocations: 370.4 kB / 0.9971 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1652, allocations: 0 / 0.9971 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.1652, allocations: 11.94 kB / 0.9971 GB, free: 9.082 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1652, allocations: 3.938 kB / 0.9971 GB, free: 9.078 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.1662, allocations: 0.9754 MB / 0.998 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1663, allocations: 0 / 0.998 GB, free: 8.023 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.1665, allocations: 55.89 kB / 0.9981 GB, free: 7.969 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-05/0.1666, allocations: 33.19 kB / 0.9981 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.1666, allocations: 12 kB / 0.9981 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006773/0.1673, allocations: 1.406 MB / 0.9995 GB, free: 6.379 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1673, allocations: 8 kB / 0.9995 GB, free: 6.371 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005118/0.1678, allocations: 0.5392 MB / 1 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.68e-05/0.1679, allocations: 128.7 kB / 1 GB, free: 5.648 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.1679, allocations: 11.98 kB / 1 GB, free: 5.637 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.1681, allocations: 27.98 kB / 1 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/0.1682, allocations: 19.91 kB / 1 GB, free: 5.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1682, allocations: 12 kB / 1 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.678e-05/0.1683, allocations: 155.5 kB / 1 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1683, allocations: 0 / 1 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004574/0.1688, allocations: 108 kB / 1 GB, free: 5.32 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.0006572/0.1694, allocations: 1.085 MB / 1.002 GB, free: 4.188 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000947/0.1704, allocations: 0.7533 MB / 1.002 GB, free: 3.414 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1704, allocations: 0 / 1.002 GB, free: 3.414 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.1707, allocations: 275.1 kB / 1.003 GB, free: 3.133 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.1712, allocations: 37.67 kB / 1.003 GB, free: 3.098 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.173, allocations: 1.645 MB / 1.004 GB, free: 1.344 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.1731, allocations: 0.7717 MB / 1.005 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001966/0.1734, allocations: 89.98 kB / 1.005 GB, free: 472 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.1735, allocations: 71.41 kB / 1.005 GB, free: 400 kB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.1735, allocations: 0 / 1.005 GB, free: 400 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8189/0.9923, allocations: 5.184 MB / 1.01 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.9926, allocations: 224.3 kB / 1.01 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.752/3.744, allocations: 0 / 1.01 GB, free: 11.16 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)