Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLoad.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.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneLoad",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.001663/0.001663, allocations: 176.7 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.383/1.383, allocations: 221.5 MB / 230 MB, free: 7.566 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.0008507/0.0008507, allocations: 81.8 kB / 280.9 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05312/0.05312, allocations: 8.11 MB / 339.8 MB, free: 6.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.823e-05/1.836e-05, allocations: 2.062 kB / 398.6 MB, free: 49.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1201, allocations: 52.52 MB / 451.1 MB, free: 5.258 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1175/0.2376, allocations: 77.48 MB / 0.5162 GB, free: 7.672 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.2379, allocations: 59.97 kB / 0.5162 GB, free: 7.613 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00766/0.2456, allocations: 2.933 MB / 0.5191 GB, free: 4.648 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2456, allocations: 3.938 kB / 0.5191 GB, free: 4.645 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.2456, allocations: 0 / 0.5191 GB, free: 4.645 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.0004877/0.2461, allocations: 394.2 kB / 0.5195 GB, free: 4.215 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.2462, allocations: 11.98 kB / 0.5195 GB, free: 4.203 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.214e-05/0.2462, allocations: 11.86 kB / 0.5195 GB, free: 4.191 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.2464, allocations: 171.1 kB / 0.5197 GB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.2464, allocations: 2.188 kB / 0.5197 GB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.2464, allocations: 4 kB / 0.5197 GB, free: 3.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000102/0.2465, allocations: 47.92 kB / 0.5197 GB, free: 3.934 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.2466, allocations: 77.62 kB / 0.5198 GB, free: 3.852 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.2467, allocations: 0 / 0.5198 GB, free: 3.852 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.2467, allocations: 0 / 0.5198 GB, free: 3.852 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.2467, allocations: 11.94 kB / 0.5198 GB, free: 3.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.2471, allocations: 329.1 kB / 0.5201 GB, free: 3.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.2474, allocations: 78.58 kB / 0.5202 GB, free: 3.395 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.2474, allocations: 12.98 kB / 0.5202 GB, free: 3.379 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.2476, allocations: 81.11 kB / 0.5203 GB, free: 3.281 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.2476, allocations: 38.55 kB / 0.5203 GB, free: 3.234 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.2476, allocations: 0 / 0.5203 GB, free: 3.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003049/0.2479, allocations: 78.47 kB / 0.5204 GB, free: 3.148 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.248, allocations: 59.41 kB / 0.5204 GB, free: 3.078 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.998e-05/0.2481, allocations: 109.2 kB / 0.5205 GB, free: 2.961 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.2481, allocations: 25.7 kB / 0.5206 GB, free: 2.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.2481, allocations: 100.2 kB / 0.5207 GB, free: 2.828 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.2482, allocations: 19.64 kB / 0.5207 GB, free: 2.809 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.2482, allocations: 7.938 kB / 0.5207 GB, free: 2.801 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2483, allocations: 314.8 kB / 0.521 GB, free: 2.484 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/0.2483, allocations: 8 kB / 0.521 GB, free: 2.477 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.809e-05/0.2483, allocations: 12.38 kB / 0.521 GB, free: 2.465 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.183e-05/0.2484, allocations: 21.45 kB / 0.521 GB, free: 2.445 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2484, allocations: 3.953 kB / 0.521 GB, free: 2.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002005/0.2486, allocations: 78.47 kB / 0.5211 GB, free: 2.355 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2486, allocations: 7.938 kB / 0.5211 GB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2487, allocations: 3.984 kB / 0.5211 GB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000192/0.2489, allocations: 24.84 kB / 0.5211 GB, free: 2.316 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.165e-05/0.2489, allocations: 4 kB / 0.5211 GB, free: 2.312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000972/0.2499, allocations: 1.225 MB / 0.5223 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.2499, allocations: 15.98 kB / 0.5224 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.25, allocations: 4.031 kB / 0.5224 GB, free: 0.957 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 (4): * Single equations (assignments): 3 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.019e-05/0.25, allocations: 104.9 kB / 0.5225 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002176/0.2503, allocations: 78.53 kB / 0.5225 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.2503, allocations: 11.89 kB / 0.5226 GB, free: 0.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.2506, allocations: 102.8 kB / 0.5226 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2506, allocations: 4 kB / 0.5227 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.2506, allocations: 0 / 0.5227 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2506, allocations: 0 / 0.5227 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.2508, allocations: 158.2 kB / 0.5228 GB, free: 452 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2508, allocations: 0 / 0.5228 GB, free: 452 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.2508, allocations: 8 kB / 0.5228 GB, free: 444 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001239/0.2509, allocations: 24.84 kB / 0.5228 GB, free: 416 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.251, allocations: 0 / 0.5228 GB, free: 416 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2469/0.4979, allocations: 1.224 MB / 0.524 GB, free: 79.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.4979, allocations: 1.062 kB / 0.524 GB, free: 79.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.4982, allocations: 185.5 kB / 0.5242 GB, free: 79.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.4983, allocations: 83.7 kB / 0.5243 GB, free: 79.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.4983, allocations: 5.172 kB / 0.5243 GB, free: 79.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.4985, allocations: 7.984 kB / 0.5243 GB, free: 79.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.4985, allocations: 7.031 kB / 0.5243 GB, free: 79.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.4985, allocations: 4.906 kB / 0.5243 GB, free: 79.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.353e-05/0.4985, allocations: 92.33 kB / 0.5244 GB, free: 79.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.4986, allocations: 0 / 0.5244 GB, free: 79.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003243/0.4989, allocations: 29.88 kB / 0.5244 GB, free: 79.11 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 (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005236/0.4994, allocations: 0.7179 MB / 0.5251 GB, free: 78.45 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003045/0.4997, allocations: 151.6 kB / 0.5253 GB, free: 78.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4998, allocations: 1.031 kB / 0.5253 GB, free: 78.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.4999, allocations: 130.9 kB / 0.5254 GB, free: 78.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.5001, allocations: 7.391 kB / 0.5254 GB, free: 78.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.5005, allocations: 133.8 kB / 0.5255 GB, free: 78.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.5007, allocations: 0.6962 MB / 0.5262 GB, free: 77.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.31e-05/0.5007, allocations: 6.672 kB / 0.5262 GB, free: 77.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.5008, allocations: 20.75 kB / 0.5262 GB, free: 77.43 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5008, allocations: 6.625 kB / 0.5262 GB, free: 77.43 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.5215, allocations: 1.719 MB / 0.5279 GB, free: 77.37 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.5217, allocations: 107.5 kB / 0.528 GB, free: 77.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.479/2, allocations: 0 / 0.528 GB, free: 77.2 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneLoad.fmu > PowerSysPro_PowerSysPro.Tests.OneLoad.pipe 2>&1)