Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.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.OneperfectTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneperfectTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneperfectTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneperfectTransfo",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.001443/0.001443, allocations: 100.8 kB / 16.31 MB, free: 6.391 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.001643/0.001643, allocations: 190.7 kB / 17.24 MB, free: 5.922 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.306/1.306, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04501/0.04501, allocations: 8.097 MB / 299.2 MB, free: 6.672 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.89 kB / 361.8 MB, free: 7.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1817, allocations: 51.51 MB / 413.3 MB, free: 25.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneperfectTransfo): time 0.002187/0.1839, allocations: 1.321 MB / 414.7 MB, free: 24.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.1851, allocations: 1.399 MB / 416.1 MB, free: 22.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/0.1851, allocations: 7.938 kB / 416.1 MB, free: 22.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.1854, allocations: 103.5 kB / 416.2 MB, free: 22.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.1856, allocations: 83.47 kB / 416.2 MB, free: 22.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.1867, allocations: 0.8712 MB / 417.1 MB, free: 21.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.1869, allocations: 135.4 kB / 417.3 MB, free: 21.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.187, allocations: 61.81 kB / 417.3 MB, free: 21.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.34e-05/0.1871, allocations: 63.78 kB / 417.4 MB, free: 21.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.625e-05/0.1871, allocations: 67.64 kB / 417.4 MB, free: 21.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.1872, allocations: 15.98 kB / 417.5 MB, free: 21.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002718/0.1875, allocations: 211.8 kB / 417.7 MB, free: 21.13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.1875, allocations: 27.91 kB / 417.7 MB, free: 21.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/0.1875, allocations: 71.67 kB / 417.8 MB, free: 21.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.1878, allocations: 317.3 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1878, allocations: 8 kB / 418.1 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1879, allocations: 0 / 418.1 MB, free: 20.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1879, allocations: 0 / 418.1 MB, free: 20.72 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.001633/0.1895, allocations: 0.6589 MB / 418.7 MB, free: 20.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.1895, allocations: 19.81 kB / 418.8 MB, free: 19.99 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.318e-05/0.1896, allocations: 42.75 kB / 418.8 MB, free: 19.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.1896, allocations: 12.84 kB / 418.8 MB, free: 19.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.1898, allocations: 214.6 kB / 419 MB, free: 19.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.1898, allocations: 8.375 kB / 419 MB, free: 19.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.1898, allocations: 12.38 kB / 419 MB, free: 19.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.1901, allocations: 175.9 kB / 419.2 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1901, allocations: 3.938 kB / 419.2 MB, free: 19.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.1901, allocations: 8 kB / 419.2 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1901, allocations: 4 kB / 419.2 MB, free: 19.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.1903, allocations: 119.9 kB / 419.3 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007079/0.191, allocations: 0.5391 MB / 419.9 MB, free: 18.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008316/0.1918, allocations: 166.5 kB / 420 MB, free: 18.58 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.955e-05/0.1919, allocations: 48.8 kB / 420.1 MB, free: 18.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.965e-05/0.192, allocations: 85.09 kB / 420.2 MB, free: 18.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.368e-05/0.192, allocations: 30.56 kB / 420.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.192, allocations: 0 / 420.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.001123/0.1932, allocations: 347.5 kB / 420.5 MB, free: 18.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.1932, allocations: 81.09 kB / 420.6 MB, free: 17.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.433e-05/0.1933, allocations: 133.8 kB / 420.8 MB, free: 17.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.1933, allocations: 29.7 kB / 420.8 MB, free: 17.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.1934, allocations: 132 kB / 420.9 MB, free: 17.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.1934, allocations: 27.56 kB / 420.9 MB, free: 17.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/0.1934, allocations: 37.7 kB / 421 MB, free: 17.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.687e-05/0.1935, allocations: 322.8 kB / 421.3 MB, free: 17.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.049e-05/0.1936, allocations: 55.86 kB / 421.3 MB, free: 17.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.768e-05/0.1937, allocations: 74.92 kB / 421.4 MB, free: 17.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.1938, allocations: 121.8 kB / 421.5 MB, free: 16.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1938, allocations: 0 / 421.5 MB, free: 16.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005165/0.1944, allocations: 234 kB / 421.8 MB, free: 16.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1944, allocations: 11.94 kB / 421.8 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1944, allocations: 0 / 421.8 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004939/0.1949, allocations: 88.8 kB / 421.9 MB, free: 16.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.195, allocations: 27.92 kB / 421.9 MB, free: 16.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.1963, allocations: 1.535 MB / 423.4 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.1964, allocations: 19.81 kB / 423.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.1964, allocations: 7.938 kB / 423.5 MB, free: 14.89 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 8.208e-05/0.1965, allocations: 121.9 kB / 423.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.891e-05/0.1966, allocations: 27.73 kB / 423.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005256/0.1971, allocations: 203 kB / 423.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1971, allocations: 4 kB / 423.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.1971, allocations: 0 / 423.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1971, allocations: 3.984 kB / 423.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.1973, allocations: 237.5 kB / 424 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1973, allocations: 0 / 424 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.929e-05/0.1974, allocations: 19.98 kB / 424.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004178/0.1978, allocations: 80.78 kB / 424.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1978, allocations: 4 kB / 424.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.199, allocations: 1.539 MB / 425.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.199, allocations: 0 / 425.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004868/0.1995, allocations: 284.3 kB / 426 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.1995, allocations: 92.95 kB / 426 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.1996, allocations: 0 / 426 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.1997, allocations: 11.98 kB / 426.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/0.1997, allocations: 11.98 kB / 426.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.1997, allocations: 0 / 426.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.334e-05/0.1998, allocations: 105.3 kB / 426.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1998, allocations: 4 kB / 426.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003163/0.2001, allocations: 47.84 kB / 426.2 MB, free: 11.87 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.0006668/0.2008, allocations: 0.8262 MB / 427.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007404/0.2015, allocations: 270.8 kB / 427.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2016, allocations: 0 / 427.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000491/0.2021, allocations: 198.6 kB / 427.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.2023, allocations: 7.984 kB / 427.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.2043, allocations: 1.869 MB / 429.4 MB, free: 8.559 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.2045, allocations: 0.7157 MB / 430.1 MB, free: 7.816 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.302e-05/0.2045, allocations: 16.66 kB / 430.1 MB, free: 7.797 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.2046, allocations: 39.42 kB / 430.2 MB, free: 7.758 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2046, allocations: 0 / 430.2 MB, free: 7.758 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.2261, allocations: 3.543 MB / 433.7 MB, free: 4.281 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.891/10.12, allocations: 3.516 kB / 433.7 MB, free: 4.281 MB / 302.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneperfectTransfo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneperfectTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe 2>&1)