Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",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.0009907/0.0009945, allocations: 108.6 kB / 16.03 MB, free: 6.273 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.001026/0.001026, allocations: 193.8 kB / 16.95 MB, free: 6.098 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.332/1.332, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04313/0.04313, allocations: 8.103 MB / 298.9 MB, free: 6.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 59.91 kB / 361.3 MB, free: 8.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1887, allocations: 51.52 MB / 412.8 MB, free: 25.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.001522/0.1902, allocations: 1.212 MB / 414 MB, free: 24.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009775/0.1912, allocations: 1.427 MB / 415.5 MB, free: 23.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.1913, allocations: 0 / 415.5 MB, free: 23.12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.1915, allocations: 95.67 kB / 415.6 MB, free: 23.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.1916, allocations: 67.66 kB / 415.6 MB, free: 22.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007993/0.1924, allocations: 0.7043 MB / 416.3 MB, free: 22.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.1925, allocations: 127.4 kB / 416.5 MB, free: 22.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.137e-05/0.1926, allocations: 49.09 kB / 416.5 MB, free: 22.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.555e-05/0.1926, allocations: 59.72 kB / 416.6 MB, free: 22.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.301e-05/0.1927, allocations: 71.73 kB / 416.6 MB, free: 21.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.1927, allocations: 15.94 kB / 416.7 MB, free: 21.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.1929, allocations: 159.8 kB / 416.8 MB, free: 21.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.832e-05/0.1929, allocations: 31.84 kB / 416.8 MB, free: 21.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.193, allocations: 59.73 kB / 416.9 MB, free: 21.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.1932, allocations: 265.5 kB / 417.2 MB, free: 21.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1932, allocations: 0 / 417.2 MB, free: 21.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1932, allocations: 0 / 417.2 MB, free: 21.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.1932, allocations: 0 / 417.2 MB, free: 21.43 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001108/0.1943, allocations: 0.5889 MB / 417.7 MB, free: 20.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.57e-05/0.1944, allocations: 11.89 kB / 417.8 MB, free: 20.78 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.942e-05/0.1944, allocations: 46.73 kB / 417.8 MB, free: 20.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.1944, allocations: 16.75 kB / 417.8 MB, free: 20.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.1946, allocations: 212.1 kB / 418 MB, free: 20.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.1946, allocations: 16.61 kB / 418 MB, free: 20.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.1946, allocations: 12.38 kB / 418.1 MB, free: 20.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.1948, allocations: 164 kB / 418.2 MB, free: 20.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1948, allocations: 3.938 kB / 418.2 MB, free: 20.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1949, allocations: 11.98 kB / 418.2 MB, free: 20.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1949, allocations: 4 kB / 418.2 MB, free: 20.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.195, allocations: 148.6 kB / 418.4 MB, free: 20.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006067/0.1956, allocations: 0.5597 MB / 418.9 MB, free: 19.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.1958, allocations: 150.5 kB / 419.1 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.582e-05/0.1959, allocations: 76.78 kB / 419.2 MB, free: 19.26 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.1959, allocations: 11.97 kB / 419.2 MB, free: 19.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.068e-05/0.196, allocations: 34.56 kB / 419.2 MB, free: 19.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.196, allocations: 0 / 419.2 MB, free: 19.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007478/0.1967, allocations: 390.4 kB / 419.6 MB, free: 18.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.47e-05/0.1967, allocations: 63.34 kB / 419.7 MB, free: 18.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.595e-05/0.1968, allocations: 171.2 kB / 419.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.1969, allocations: 25.7 kB / 419.8 MB, free: 18.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.229e-05/0.1969, allocations: 116.1 kB / 420 MB, free: 18.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.1969, allocations: 51.3 kB / 420 MB, free: 18.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.885e-05/0.197, allocations: 45.69 kB / 420.1 MB, free: 18.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.422e-05/0.197, allocations: 314.8 kB / 420.4 MB, free: 17.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.1971, allocations: 95.95 kB / 420.5 MB, free: 17.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.765e-05/0.1972, allocations: 95.91 kB / 420.5 MB, free: 17.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.1974, allocations: 196.4 kB / 420.7 MB, free: 17.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1974, allocations: 0 / 420.7 MB, free: 17.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004098/0.1979, allocations: 298.1 kB / 421 MB, free: 17.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.1979, allocations: 11.98 kB / 421 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.1979, allocations: 4 kB / 421 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/0.1981, allocations: 60.75 kB / 421.1 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.1983, allocations: 35.97 kB / 421.1 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008497/0.1991, allocations: 1.535 MB / 422.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.1993, allocations: 19.78 kB / 422.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.1993, allocations: 8 kB / 422.7 MB, free: 15.48 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 21 * 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 6.69e-05/0.1993, allocations: 129.9 kB / 422.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.1994, allocations: 7.906 kB / 422.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003861/0.1998, allocations: 231.2 kB / 423.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.1998, allocations: 4 kB / 423.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.1998, allocations: 0 / 423.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1998, allocations: 3.984 kB / 423.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.2, allocations: 269.4 kB / 423.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2, allocations: 7.938 kB / 423.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.234e-05/0.2001, allocations: 15.98 kB / 423.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000177/0.2002, allocations: 52.81 kB / 423.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.2003, allocations: 8 kB / 423.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007944/0.2011, allocations: 1.535 MB / 425 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2011, allocations: 3.984 kB / 425 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.2014, allocations: 304.1 kB / 425.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.2014, allocations: 89 kB / 425.3 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.2015, allocations: 12.06 kB / 425.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.2016, allocations: 3.938 kB / 425.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.2016, allocations: 11.98 kB / 425.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.2016, allocations: 4 kB / 425.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.063e-05/0.2017, allocations: 126.1 kB / 425.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2017, allocations: 4 kB / 425.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.202, allocations: 55.84 kB / 425.6 MB, free: 12.39 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 (12): * Single equations (assignments): 11 * 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.0004912/0.2025, allocations: 0.8589 MB / 426.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004753/0.203, allocations: 322.5 kB / 426.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.203, allocations: 0 / 426.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002963/0.2033, allocations: 206.6 kB / 426.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.2035, allocations: 13.44 kB / 426.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.2052, allocations: 2.115 MB / 429.1 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.374e-05/0.2053, allocations: 0.7122 MB / 429.8 MB, free: 8.012 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.94e-05/0.2054, allocations: 24.55 kB / 429.8 MB, free: 7.988 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.2055, allocations: 39.42 kB / 429.8 MB, free: 7.949 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2055, allocations: 4 kB / 429.8 MB, free: 7.945 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6324/0.8379, allocations: 3.741 MB / 433.6 MB, free: 4.324 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001456/0.838, allocations: 216.8 kB / 433.8 MB, free: 4.07 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.496, allocations: 4 kB / 433.8 MB, free: 4.066 MB / 302.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1)