Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLine.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.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLine",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.00126/0.00126, allocations: 105.1 kB / 16.31 MB, free: 6.359 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.001058/0.001058, allocations: 184.6 kB / 17.24 MB, free: 5.879 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.31/1.31, allocations: 222.9 MB / 240.9 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04557/0.04557, allocations: 8.107 MB / 299.2 MB, free: 6.695 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 71.89 kB / 361.8 MB, free: 8.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1797, allocations: 51.5 MB / 413.3 MB, free: 25.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneLine): time 0.002103/0.1818, allocations: 1.28 MB / 414.6 MB, free: 24.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1829, allocations: 1.244 MB / 415.9 MB, free: 23.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.183, allocations: 0 / 415.9 MB, free: 23.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.1833, allocations: 111.5 kB / 416 MB, free: 22.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.1835, allocations: 55.56 kB / 416 MB, free: 22.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009666/0.1844, allocations: 0.7389 MB / 416.8 MB, free: 22.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.1846, allocations: 127.4 kB / 416.9 MB, free: 22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1847, allocations: 73.31 kB / 417 MB, free: 21.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.213e-05/0.1848, allocations: 51.8 kB / 417 MB, free: 21.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.14e-05/0.1848, allocations: 59.77 kB / 417.1 MB, free: 21.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.1849, allocations: 12 kB / 417.1 MB, free: 21.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.1851, allocations: 151.8 kB / 417.2 MB, free: 21.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.1851, allocations: 31.86 kB / 417.3 MB, free: 21.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.1852, allocations: 67.67 kB / 417.3 MB, free: 21.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.1854, allocations: 257.5 kB / 417.6 MB, free: 21.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1854, allocations: 0 / 417.6 MB, free: 21.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1855, allocations: 0 / 417.6 MB, free: 21.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1855, allocations: 0 / 417.6 MB, free: 21.3 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.001091/0.1866, allocations: 0.5575 MB / 418.1 MB, free: 20.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1866, allocations: 11.89 kB / 418.1 MB, free: 20.68 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.677e-05/0.1866, allocations: 42.73 kB / 418.2 MB, free: 20.63 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.1867, allocations: 16.75 kB / 418.2 MB, free: 20.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.1868, allocations: 208.9 kB / 418.4 MB, free: 20.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1869, allocations: 12.38 kB / 418.4 MB, free: 20.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.1869, allocations: 16.38 kB / 418.4 MB, free: 20.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.1871, allocations: 154.2 kB / 418.6 MB, free: 20.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1871, allocations: 3.938 kB / 418.6 MB, free: 20.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.1872, allocations: 4 kB / 418.6 MB, free: 20.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1872, allocations: 0 / 418.6 MB, free: 20.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.1873, allocations: 116 kB / 418.7 MB, free: 20.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005949/0.1879, allocations: 0.5156 MB / 419.2 MB, free: 19.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008581/0.1888, allocations: 154.5 kB / 419.4 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.413e-05/0.1889, allocations: 48.78 kB / 419.4 MB, free: 19.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.609e-05/0.189, allocations: 85.11 kB / 419.5 MB, free: 19.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.189, allocations: 42.62 kB / 419.5 MB, free: 19.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.189, allocations: 7.938 kB / 419.6 MB, free: 19.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.001047/0.1901, allocations: 343.3 kB / 419.9 MB, free: 18.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.1901, allocations: 59.34 kB / 419.9 MB, free: 18.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.642e-05/0.1902, allocations: 136.9 kB / 420.1 MB, free: 18.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.1902, allocations: 29.7 kB / 420.1 MB, free: 18.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.1902, allocations: 120.1 kB / 420.2 MB, free: 18.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.1903, allocations: 31.55 kB / 420.3 MB, free: 18.37 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.1903, allocations: 29.72 kB / 420.3 MB, free: 18.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.818e-05/0.1904, allocations: 318.8 kB / 420.6 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.46e-05/0.1904, allocations: 43.92 kB / 420.6 MB, free: 17.97 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.087e-05/0.1905, allocations: 57.7 kB / 420.7 MB, free: 17.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.1906, allocations: 105.7 kB / 420.8 MB, free: 17.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1907, allocations: 0 / 420.8 MB, free: 17.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004352/0.1911, allocations: 210.2 kB / 421 MB, free: 17.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1911, allocations: 4 kB / 421 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1911, allocations: 0 / 421 MB, free: 17.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003988/0.1915, allocations: 84.73 kB / 421.1 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.606e-05/0.1916, allocations: 12 kB / 421.1 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.1929, allocations: 1.644 MB / 422.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.612e-05/0.193, allocations: 7.938 kB / 422.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.193, allocations: 8 kB / 422.8 MB, free: 15.68 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 (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 {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.977e-05/0.1931, allocations: 121.8 kB / 422.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.1931, allocations: 7.906 kB / 422.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000512/0.1936, allocations: 214.9 kB / 423.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1936, allocations: 3.938 kB / 423.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1936, allocations: 4 kB / 423.1 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1937, allocations: 3.984 kB / 423.1 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.1938, allocations: 229.4 kB / 423.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1938, allocations: 0 / 423.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.443e-05/0.1939, allocations: 11.94 kB / 423.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003355/0.1942, allocations: 80.77 kB / 423.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1943, allocations: 4 kB / 423.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.1955, allocations: 1.633 MB / 425.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1955, allocations: 0.5156 kB / 425.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004305/0.1959, allocations: 288.2 kB / 425.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.1959, allocations: 88.95 kB / 425.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.196, allocations: 7.984 kB / 425.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.1961, allocations: 7.938 kB / 425.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.1961, allocations: 11.92 kB / 425.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.1961, allocations: 8 kB / 425.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.474e-05/0.1962, allocations: 91.27 kB / 425.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1962, allocations: 0 / 425.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003118/0.1965, allocations: 47.94 kB / 425.6 MB, free: 12.59 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 (8): * Single equations (assignments): 7 * 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 {(2,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.000626/0.1971, allocations: 0.8224 MB / 426.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005839/0.1977, allocations: 274.7 kB / 426.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1978, allocations: 0 / 426.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003421/0.1981, allocations: 198.6 kB / 426.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.1983, allocations: 8 kB / 426.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.2002, allocations: 1.772 MB / 428.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.2003, allocations: 0.7119 MB / 429.4 MB, free: 8.633 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.949e-05/0.2003, allocations: 8.656 kB / 429.4 MB, free: 8.621 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.726e-05/0.2004, allocations: 39.36 kB / 429.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2004, allocations: 0 / 429.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.2206, allocations: 3.47 MB / 432.9 MB, free: 5.168 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.39, allocations: 10.45 kB / 432.9 MB, free: 5.16 MB / 302.1 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLine.fmu > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1)