Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: "" <> buildModelFMU(PowerSysPro.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 177.5 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 221.5 MB / 230 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009271/0.0009272, allocations: 100.3 kB / 280.9 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04611/0.04611, allocations: 8.106 MB / 339.8 MB, free: 7.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.644e-05/1.651e-05, allocations: 2.031 kB / 398.6 MB, free: 49.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09474/0.09477, allocations: 52.53 MB / 451.1 MB, free: 5.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1139/0.2088, allocations: 77.22 MB / 0.5159 GB, free: 8.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.2091, allocations: 59.97 kB / 0.516 GB, free: 8.012 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006209/0.2153, allocations: 2.522 MB / 0.5184 GB, free: 5.457 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2153, allocations: 0 / 0.5184 GB, free: 5.457 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.2153, allocations: 0 / 0.5184 GB, free: 5.457 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004057/0.2157, allocations: 362.3 kB / 0.5188 GB, free: 5.059 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.2158, allocations: 15.98 kB / 0.5188 GB, free: 5.043 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.2158, allocations: 7.953 kB / 0.5188 GB, free: 5.035 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.216, allocations: 167 kB / 0.519 GB, free: 4.832 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.216, allocations: 4 kB / 0.519 GB, free: 4.828 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.216, allocations: 4 kB / 0.519 GB, free: 4.824 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001086/0.2161, allocations: 39.94 kB / 0.519 GB, free: 4.785 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.2162, allocations: 71.58 kB / 0.5191 GB, free: 4.711 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2163, allocations: 0 / 0.5191 GB, free: 4.711 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.2163, allocations: 0 / 0.5191 GB, free: 4.711 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.2163, allocations: 9.703 kB / 0.5191 GB, free: 4.703 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005078/0.2168, allocations: 317.2 kB / 0.5194 GB, free: 4.355 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.792e-05/0.2169, allocations: 22.58 kB / 0.5194 GB, free: 4.324 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.907e-05/0.2169, allocations: 4.859 kB / 0.5194 GB, free: 4.316 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.217, allocations: 85.17 kB / 0.5195 GB, free: 4.215 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.2171, allocations: 30.56 kB / 0.5195 GB, free: 4.176 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.2171, allocations: 4 kB / 0.5195 GB, free: 4.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001678/0.2172, allocations: 45.59 kB / 0.5196 GB, free: 4.121 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.2173, allocations: 51.41 kB / 0.5196 GB, free: 4.059 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.2174, allocations: 113.1 kB / 0.5197 GB, free: 3.941 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.2174, allocations: 33.64 kB / 0.5198 GB, free: 3.902 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.2175, allocations: 103.8 kB / 0.5199 GB, free: 3.797 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.366e-06/0.2175, allocations: 7.906 kB / 0.5199 GB, free: 3.789 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.2175, allocations: 0 / 0.5199 GB, free: 3.789 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2176, allocations: 318.9 kB / 0.5202 GB, free: 3.469 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.181e-05/0.2177, allocations: 11.94 kB / 0.5202 GB, free: 3.457 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.935e-05/0.2177, allocations: 8 kB / 0.5202 GB, free: 3.449 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.118e-05/0.2178, allocations: 19.98 kB / 0.5202 GB, free: 3.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2178, allocations: 3.953 kB / 0.5202 GB, free: 3.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001257/0.2179, allocations: 65.67 kB / 0.5203 GB, free: 3.355 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2179, allocations: 4 kB / 0.5203 GB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2179, allocations: 192 / 0.5203 GB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.218, allocations: 0 / 0.5203 GB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.639e-05/0.218, allocations: 12 kB / 0.5203 GB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2181, allocations: 4 kB / 0.5203 GB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.256e-05/0.2181, allocations: 15.81 kB / 0.5203 GB, free: 3.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.2181, allocations: 7.938 kB / 0.5203 GB, free: 3.312 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.953e-05/0.2182, allocations: 106.4 kB / 0.5204 GB, free: 3.203 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.579e-05/0.2183, allocations: 41.66 kB / 0.5205 GB, free: 3.156 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.2183, allocations: 11.89 kB / 0.5205 GB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.2184, allocations: 49.61 kB / 0.5205 GB, free: 3.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2185, allocations: 4.062 kB / 0.5205 GB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2185, allocations: 0 / 0.5205 GB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2185, allocations: 0 / 0.5205 GB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.2186, allocations: 150.1 kB / 0.5207 GB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2186, allocations: 4 kB / 0.5207 GB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.113e-05/0.2187, allocations: 0 / 0.5207 GB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2187, allocations: 0 / 0.5207 GB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.2187, allocations: 4 kB / 0.5207 GB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2187, allocations: 0 / 0.5207 GB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2187, allocations: 0 / 0.5207 GB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.2188, allocations: 135.5 kB / 0.5208 GB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.2189, allocations: 89.06 kB / 0.5209 GB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.2189, allocations: 0 / 0.5209 GB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.773e-05/0.219, allocations: 0 / 0.5209 GB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.219, allocations: 3.984 kB / 0.5209 GB, free: 2.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.219, allocations: 4 kB / 0.5209 GB, free: 2.633 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.421e-05/0.219, allocations: 91.58 kB / 0.521 GB, free: 2.543 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.219, allocations: 0 / 0.521 GB, free: 2.543 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002337/0.2193, allocations: 19.94 kB / 0.521 GB, free: 2.523 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003914/0.2197, allocations: 0.6772 MB / 0.5217 GB, free: 1.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.655e-05/0.2198, allocations: 27.97 kB / 0.5217 GB, free: 1.793 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2198, allocations: 0 / 0.5217 GB, free: 1.793 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.097e-05/0.2198, allocations: 8 kB / 0.5217 GB, free: 1.785 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.22, allocations: 0 / 0.5217 GB, free: 1.785 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.2203, allocations: 113.6 kB / 0.5218 GB, free: 1.633 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.2206, allocations: 0.6885 MB / 0.5225 GB, free: 0.918 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.152e-05/0.2207, allocations: 4.062 kB / 0.5225 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.2207, allocations: 19.44 kB / 0.5225 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.2207, allocations: 0 / 0.5225 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2261/0.4468, allocations: 0.9972 MB / 0.5235 GB, free: 80.13 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/0.447, allocations: 106.2 kB / 0.5236 GB, free: 79.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.406/1.854, allocations: 0 / 0.5236 GB, free: 79.95 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneSource.fmu > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1)