Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneTransfo.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-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(PowerSysPro.Tests.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",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.001033/0.001033, allocations: 104.5 kB / 16.03 MB, free: 6.324 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.001023/0.001023, allocations: 196.8 kB / 16.95 MB, free: 6.145 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.282/1.282, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04367/0.04367, allocations: 8.097 MB / 298.9 MB, free: 6.91 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 55.91 kB / 361.3 MB, free: 8.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1736, allocations: 51.52 MB / 412.8 MB, free: 25.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneTransfo): time 0.002024/0.1757, allocations: 1.371 MB / 414.2 MB, free: 24.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1769, allocations: 1.38 MB / 415.6 MB, free: 23.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.75e-05/0.1769, allocations: 4 kB / 415.6 MB, free: 23.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.1772, allocations: 87.67 kB / 415.7 MB, free: 22.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.1774, allocations: 83.59 kB / 415.8 MB, free: 22.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.1785, allocations: 0.8211 MB / 416.6 MB, free: 22.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.1786, allocations: 131.4 kB / 416.7 MB, free: 21.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1787, allocations: 69.8 kB / 416.8 MB, free: 21.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.973e-05/0.1788, allocations: 59.73 kB / 416.8 MB, free: 21.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.656e-05/0.1789, allocations: 67.7 kB / 416.9 MB, free: 21.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1789, allocations: 12 kB / 416.9 MB, free: 21.69 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.1792, allocations: 211.8 kB / 417.1 MB, free: 21.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.1792, allocations: 35.84 kB / 417.1 MB, free: 21.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.169e-05/0.1793, allocations: 71.67 kB / 417.2 MB, free: 21.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.1795, allocations: 313.4 kB / 417.5 MB, free: 21.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1795, allocations: 0 / 417.5 MB, free: 21.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1796, allocations: 0 / 417.5 MB, free: 21.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1796, allocations: 0 / 417.5 MB, free: 21.07 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.00155/0.1811, allocations: 0.6627 MB / 418.2 MB, free: 20.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.1812, allocations: 15.89 kB / 418.2 MB, free: 20.34 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.593e-05/0.1812, allocations: 46.73 kB / 418.2 MB, free: 20.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.1812, allocations: 16.84 kB / 418.3 MB, free: 20.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.1814, allocations: 208.1 kB / 418.5 MB, free: 20.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.1814, allocations: 8.375 kB / 418.5 MB, free: 20.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.1814, allocations: 12.38 kB / 418.5 MB, free: 20.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.1817, allocations: 183.8 kB / 418.7 MB, free: 19.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1817, allocations: 7.938 kB / 418.7 MB, free: 19.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.1817, allocations: 4 kB / 418.7 MB, free: 19.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.1817, allocations: 7.938 kB / 418.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.1819, allocations: 116.5 kB / 418.8 MB, free: 19.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006657/0.1825, allocations: 0.5391 MB / 419.3 MB, free: 19.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007965/0.1834, allocations: 158.5 kB / 419.5 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.442e-05/0.1834, allocations: 48.78 kB / 419.5 MB, free: 18.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.539e-05/0.1835, allocations: 81.11 kB / 419.6 MB, free: 18.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.311e-05/0.1836, allocations: 34.56 kB / 419.7 MB, free: 18.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.1836, allocations: 0 / 419.7 MB, free: 18.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.001088/0.1847, allocations: 355.4 kB / 420 MB, free: 18.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.1847, allocations: 77.11 kB / 420.1 MB, free: 18.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.923e-05/0.1848, allocations: 135.9 kB / 420.2 MB, free: 18.13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1848, allocations: 29.7 kB / 420.2 MB, free: 18.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.1848, allocations: 136 kB / 420.4 MB, free: 17.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.1849, allocations: 31.55 kB / 420.4 MB, free: 17.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.1849, allocations: 29.72 kB / 420.4 MB, free: 17.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.809e-05/0.1849, allocations: 330.8 kB / 420.8 MB, free: 17.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.187e-05/0.185, allocations: 47.92 kB / 420.8 MB, free: 17.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.993e-05/0.1851, allocations: 74.55 kB / 420.9 MB, free: 17.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.1853, allocations: 125.7 kB / 421 MB, free: 17.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.1853, allocations: 3.938 kB / 421 MB, free: 17.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004955/0.1858, allocations: 221.4 kB / 421.2 MB, free: 17.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.1858, allocations: 8 kB / 421.2 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1858, allocations: 0 / 421.2 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004752/0.1863, allocations: 96.73 kB / 421.3 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.1864, allocations: 23.97 kB / 421.3 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/0.1876, allocations: 1.547 MB / 422.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.1877, allocations: 11.88 kB / 422.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.1877, allocations: 4 kB / 422.9 MB, free: 15.24 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.332e-05/0.1878, allocations: 129.8 kB / 423 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.1878, allocations: 15.75 kB / 423 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005038/0.1884, allocations: 215.5 kB / 423.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1884, allocations: 0 / 423.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.1884, allocations: 0 / 423.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1884, allocations: 0 / 423.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.1885, allocations: 241.4 kB / 423.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1885, allocations: 0 / 423.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.62e-05/0.1886, allocations: 15.98 kB / 423.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004016/0.189, allocations: 92.7 kB / 423.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.1891, allocations: 4 kB / 423.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/0.1902, allocations: 1.535 MB / 425.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1902, allocations: 4.031 kB / 425.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005015/0.1907, allocations: 284.3 kB / 425.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.1908, allocations: 84.95 kB / 425.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.1908, allocations: 4 kB / 425.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.1909, allocations: 8.109 kB / 425.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.191, allocations: 7.984 kB / 425.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.191, allocations: 0 / 425.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.608e-05/0.191, allocations: 105.5 kB / 425.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.191, allocations: 0 / 425.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.1913, allocations: 47.84 kB / 425.7 MB, free: 12.22 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 9 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006288/0.1919, allocations: 0.834 MB / 426.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006669/0.1926, allocations: 270.8 kB / 426.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1926, allocations: 0 / 426.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004657/0.1931, allocations: 198.6 kB / 427 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.1933, allocations: 10.81 kB / 427 MB, free: 10.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.1952, allocations: 1.927 MB / 428.9 MB, free: 8.852 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.919e-05/0.1953, allocations: 0.708 MB / 429.6 MB, free: 8.117 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.775e-05/0.1954, allocations: 20.64 kB / 429.6 MB, free: 8.094 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.461e-05/0.1954, allocations: 39.42 kB / 429.7 MB, free: 8.055 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1954, allocations: 0 / 429.7 MB, free: 8.055 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3265/0.522, allocations: 3.457 MB / 433.1 MB, free: 4.699 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/0.5222, allocations: 211.5 kB / 433.3 MB, free: 4.43 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.897/2.419, allocations: 0 / 433.3 MB, free: 4.43 MB / 302.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneTransfo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe 2>&1)