Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.Examples.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",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.001239/0.001239, allocations: 103.8 kB / 16.03 MB, free: 6.34 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.00131/0.001311, allocations: 199.1 kB / 16.95 MB, free: 6.172 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.322/1.322, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0446/0.0446, allocations: 8.099 MB / 298.9 MB, free: 6.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 59.91 kB / 361.3 MB, free: 8.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1725, allocations: 51.52 MB / 412.8 MB, free: 25.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.002133/0.1747, allocations: 1.818 MB / 414.7 MB, free: 23.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.1761, allocations: 1.555 MB / 416.2 MB, free: 22.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.459e-05/0.1762, allocations: 8 kB / 416.2 MB, free: 22.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.1765, allocations: 119.5 kB / 416.3 MB, free: 22.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.1768, allocations: 139.3 kB / 416.5 MB, free: 22.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.1781, allocations: 1.004 MB / 417.5 MB, free: 21.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.1783, allocations: 270.7 kB / 417.7 MB, free: 20.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1785, allocations: 88.62 kB / 417.8 MB, free: 20.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.087e-05/0.1785, allocations: 115.6 kB / 417.9 MB, free: 20.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.1786, allocations: 135.4 kB / 418.1 MB, free: 20.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.1787, allocations: 20 kB / 418.1 MB, free: 20.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/0.1789, allocations: 247.8 kB / 418.3 MB, free: 20.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.179, allocations: 59.75 kB / 418.4 MB, free: 20.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.302e-05/0.1791, allocations: 131.3 kB / 418.5 MB, free: 20.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.1794, allocations: 460.9 kB / 419 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1794, allocations: 0 / 419 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1794, allocations: 0 / 419 MB, free: 19.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.1794, allocations: 0 / 419 MB, free: 19.62 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.003285/0.1827, allocations: 1.106 MB / 420.1 MB, free: 18.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.1828, allocations: 15.89 kB / 420.1 MB, free: 18.44 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.763e-05/0.1828, allocations: 54.73 kB / 420.1 MB, free: 18.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.1829, allocations: 28.56 kB / 420.2 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.1831, allocations: 271.9 kB / 420.4 MB, free: 18.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1831, allocations: 16.75 kB / 420.5 MB, free: 18.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.1831, allocations: 24.38 kB / 420.5 MB, free: 18.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/0.1835, allocations: 355.7 kB / 420.8 MB, free: 17.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1836, allocations: 3.938 kB / 420.8 MB, free: 17.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.1836, allocations: 4 kB / 420.8 MB, free: 17.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1836, allocations: 4 kB / 420.8 MB, free: 17.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.1839, allocations: 295.3 kB / 421.1 MB, free: 17.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.1852, allocations: 1.354 MB / 422.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006573/0.1859, allocations: 374.7 kB / 422.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.1861, allocations: 180.8 kB / 423 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005181/0.1866, allocations: 0.6854 MB / 423.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.1866, allocations: 54.77 kB / 423.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.332e-06/0.1866, allocations: 3.938 kB / 423.8 MB, free: 14.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.003074/0.1897, allocations: 1.121 MB / 424.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.1897, allocations: 114.8 kB / 425 MB, free: 13.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.1899, allocations: 228.9 kB / 425.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.1899, allocations: 33.7 kB / 425.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.19, allocations: 148.5 kB / 425.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.746e-05/0.19, allocations: 98.64 kB / 425.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.1901, allocations: 90.05 kB / 425.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.932e-05/0.1902, allocations: 334.8 kB / 425.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.1904, allocations: 188.8 kB / 426.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.1907, allocations: 267.2 kB / 426.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005915/0.1913, allocations: 480.7 kB / 426.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1913, allocations: 0 / 426.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001781/0.1931, allocations: 0.8182 MB / 427.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1932, allocations: 6.344 kB / 427.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1932, allocations: 8 kB / 427.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001775/0.1949, allocations: 413.3 kB / 428.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.1952, allocations: 71.84 kB / 428.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003449/0.1987, allocations: 4.019 MB / 432.1 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/0.1989, allocations: 55.56 kB / 432.2 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.199, allocations: 15.98 kB / 432.2 MB, free: 5.574 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.1991, allocations: 149.7 kB / 432.4 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.1991, allocations: 23.72 kB / 432.4 MB, free: 5.395 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/0.2009, allocations: 0.7399 MB / 433.1 MB, free: 4.645 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2009, allocations: 4 kB / 433.1 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.2009, allocations: 0 / 433.1 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.2009, allocations: 3.984 kB / 433.1 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.2012, allocations: 413.1 kB / 433.5 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.2012, allocations: 0 / 433.5 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.2014, allocations: 43.92 kB / 433.6 MB, free: 4.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001749/0.2031, allocations: 413.3 kB / 434 MB, free: 3.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.2032, allocations: 4 kB / 434 MB, free: 3.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003474/0.2066, allocations: 4.015 MB / 438 MB, free: 15.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2066, allocations: 4 kB / 438 MB, free: 15.42 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.2084, allocations: 0.7666 MB / 438.8 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.2085, allocations: 112.7 kB / 438.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.2085, allocations: 4 kB / 438.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.2088, allocations: 15.23 kB / 438.9 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.241e-05/0.2089, allocations: 35.89 kB / 438.9 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.2089, allocations: 8 kB / 438.9 MB, free: 14.45 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.209, allocations: 160.5 kB / 439.1 MB, free: 14.29 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.209, allocations: 3.938 kB / 439.1 MB, free: 14.29 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004145/0.2094, allocations: 135.8 kB / 439.2 MB, free: 14.16 MB / 318.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002046/0.2115, allocations: 1.335 MB / 440.6 MB, free: 12.79 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001431/0.2129, allocations: 0.7717 MB / 441.3 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2129, allocations: 0 / 441.3 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009667/0.2139, allocations: 0.513 MB / 441.9 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.2142, allocations: 20.38 kB / 441.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005712/0.2199, allocations: 3.817 MB / 445.7 MB, free: 7.504 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.2202, allocations: 0.7571 MB / 446.5 MB, free: 6.723 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.2203, allocations: 42.25 kB / 446.5 MB, free: 6.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.2204, allocations: 79.41 kB / 446.6 MB, free: 6.602 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2204, allocations: 4 kB / 446.6 MB, free: 6.598 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.307/0.5274, allocations: 8.951 MB / 455.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.5277, allocations: 228.8 kB / 455.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.49, allocations: 0 / 455.7 MB, free: 13.55 MB / 334.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1)