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: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 100.4 kB / 16.4 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 197.2 kB / 17.34 MB, free: 5.75 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.474/1.474, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7581/0.7581, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 64.5 kB / 0.5572 GB, free: 32.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1614, allocations: 76.17 MB / 0.6316 GB, free: 5.047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004595/0.166, allocations: 2.872 MB / 0.6344 GB, free: 2.156 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003016/0.1691, allocations: 1.812 MB / 0.6361 GB, free: 340 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.1694, allocations: 4 kB / 0.6361 GB, free: 336 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.1704, allocations: 231 kB / 0.6364 GB, free: 104 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006209/0.171, allocations: 203.2 kB / 0.6366 GB, free: 15.9 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006782/0.1717, allocations: 227.4 kB / 0.6368 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004816/0.1722, allocations: 314.9 kB / 0.6371 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003948/0.1726, allocations: 174.4 kB / 0.6372 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.1729, allocations: 123.5 kB / 0.6374 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003781/0.1733, allocations: 151.5 kB / 0.6375 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.739e-05/0.1733, allocations: 20 kB / 0.6375 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005329/0.1739, allocations: 283.5 kB / 0.6378 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.174, allocations: 83.78 kB / 0.6379 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.1742, allocations: 115.4 kB / 0.638 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006717/0.1748, allocations: 442.4 kB / 0.6384 GB, free: 14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/0.1749, allocations: 4 kB / 0.6384 GB, free: 14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1749, allocations: 0 / 0.6384 GB, free: 14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.158e-06/0.1749, allocations: 0 / 0.6384 GB, free: 14 MB / 494.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.0009751/0.1759, allocations: 0.5418 MB / 0.6389 GB, free: 13.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.1759, allocations: 12.03 kB / 0.639 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.97e-05/0.176, allocations: 62.72 kB / 0.639 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009748/0.177, allocations: 112.5 kB / 0.6391 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.1774, allocations: 267.5 kB / 0.6394 GB, free: 12.92 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.1775, allocations: 12.75 kB / 0.6394 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.048e-05/0.1775, allocations: 32.28 kB / 0.6394 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007058/0.1782, allocations: 386.1 kB / 0.6398 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.1783, allocations: 3.984 kB / 0.6398 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.1783, allocations: 12 kB / 0.6398 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.651e-05/0.1784, allocations: 20.31 kB / 0.6398 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006937/0.1791, allocations: 344.6 kB / 0.6401 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.1812, allocations: 1.74 MB / 0.6418 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007262/0.1819, allocations: 335.2 kB / 0.6422 GB, free: 9.871 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.1822, allocations: 149.6 kB / 0.6423 GB, free: 9.719 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001522/0.1823, allocations: 85.09 kB / 0.6424 GB, free: 9.617 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.1824, allocations: 38.56 kB / 0.6424 GB, free: 9.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.1824, allocations: 0 / 0.6424 GB, free: 9.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.001427/0.1838, allocations: 0.6052 MB / 0.643 GB, free: 8.938 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.1839, allocations: 81.11 kB / 0.6431 GB, free: 8.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.1842, allocations: 211.7 kB / 0.6433 GB, free: 8.621 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.1842, allocations: 29.7 kB / 0.6433 GB, free: 8.586 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1843, allocations: 167.9 kB / 0.6435 GB, free: 8.418 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/0.1844, allocations: 63.02 kB / 0.6435 GB, free: 8.355 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.1845, allocations: 69.88 kB / 0.6436 GB, free: 8.281 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1846, allocations: 326.8 kB / 0.6439 GB, free: 7.953 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003129/0.1849, allocations: 141.9 kB / 0.6441 GB, free: 7.812 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.1853, allocations: 223.3 kB / 0.6443 GB, free: 7.559 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006015/0.1859, allocations: 371.4 kB / 0.6446 GB, free: 7.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1859, allocations: 0 / 0.6446 GB, free: 7.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008999/0.1868, allocations: 439.8 kB / 0.645 GB, free: 6.723 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1868, allocations: 4 kB / 0.6451 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1869, allocations: 4 kB / 0.6451 GB, free: 6.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002562/0.1871, allocations: 36.83 kB / 0.6451 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.1875, allocations: 75.88 kB / 0.6452 GB, free: 6.602 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/0.189, allocations: 1.619 MB / 0.6467 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.1893, allocations: 43.95 kB / 0.6468 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.1894, allocations: 12 kB / 0.6468 GB, free: 4.781 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003759/0.1898, allocations: 240 kB / 0.647 GB, free: 4.543 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003235/0.1901, allocations: 219 kB / 0.6472 GB, free: 4.289 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005576/0.1907, allocations: 360.8 kB / 0.6476 GB, free: 3.898 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.334e-06/0.1907, allocations: 0 / 0.6476 GB, free: 3.898 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0008446/0.1915, allocations: 413.9 kB / 0.648 GB, free: 3.484 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.1916, allocations: 8 kB / 0.648 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1916, allocations: 4 kB / 0.648 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001372/0.1917, allocations: 40.83 kB / 0.648 GB, free: 3.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.192, allocations: 72.12 kB / 0.6481 GB, free: 3.359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.1933, allocations: 1.615 MB / 0.6497 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.1936, allocations: 27.88 kB / 0.6497 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.1936, allocations: 16 kB / 0.6497 GB, free: 1.555 MB / 494.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 (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 0.0001321/0.1938, allocations: 192.1 kB / 0.6499 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.355e-05/0.1939, allocations: 31.88 kB / 0.6499 GB, free: 1.328 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006663/0.1945, allocations: 360.9 kB / 0.6503 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1946, allocations: 4 kB / 0.6503 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1946, allocations: 0 / 0.6503 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1946, allocations: 0 / 0.6503 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.196, allocations: 0.9639 MB / 0.6512 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.196, allocations: 3.938 kB / 0.6512 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.1963, allocations: 52.11 kB / 0.6513 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001159/0.1964, allocations: 44.83 kB / 0.6513 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.1964, allocations: 7.984 kB / 0.6513 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.1976, allocations: 1.504 MB / 0.6528 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.1976, allocations: 0 / 0.6528 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006921/0.1983, allocations: 0.5402 MB / 0.6533 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.1984, allocations: 124.8 kB / 0.6534 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.1985, allocations: 8 kB / 0.6534 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.1987, allocations: 27.97 kB / 0.6535 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.334e-05/0.1988, allocations: 24.11 kB / 0.6535 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1988, allocations: 4 kB / 0.6535 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001945/0.199, allocations: 163 kB / 0.6536 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.199, allocations: 0 / 0.6536 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006007/0.1997, allocations: 108 kB / 0.6538 GB, free: 13.12 MB / 0.4981 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.0009721/0.2006, allocations: 1.094 MB / 0.6548 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.202, allocations: 0.7557 MB / 0.6556 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.202, allocations: 256 / 0.6556 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003828/0.2024, allocations: 278.4 kB / 0.6558 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.2029, allocations: 36.59 kB / 0.6559 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004009/0.2069, allocations: 3.018 MB / 0.6588 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.2073, allocations: 0.7717 MB / 0.6596 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002516/0.2075, allocations: 93.86 kB / 0.6596 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.2077, allocations: 71.34 kB / 0.6597 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.2077, allocations: 0 / 0.6597 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.236, allocations: 5.891 MB / 0.6655 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.857/10.09, allocations: 7.922 kB / 0.6655 GB, free: 0.9492 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)