Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.Examples.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",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.001487/0.001487, allocations: 180.2 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 223.2 MB / 239.7 MB, free: 1.812 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.00103/0.001031, allocations: 96.25 kB / 290.9 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04979/0.04979, allocations: 8.107 MB / 350.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003521, allocations: 11.59 kB / 413.2 MB, free: 89.67 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1208, allocations: 52.52 MB / 465.7 MB, free: 41.99 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4683/0.5891, allocations: 78.39 MB / 0.5313 GB, free: 16.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001974/0.5894, allocations: 58.3 kB / 0.5314 GB, free: 16.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009136/0.5985, allocations: 3.415 MB / 0.5347 GB, free: 32.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5986, allocations: 0 / 0.5347 GB, free: 32.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.086e-06/0.5986, allocations: 0 / 0.5347 GB, free: 32.18 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000623/0.5992, allocations: 418.1 kB / 0.5351 GB, free: 31.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.5993, allocations: 11.62 kB / 0.5351 GB, free: 31.79 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.5993, allocations: 36.62 kB / 0.5352 GB, free: 31.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.5994, allocations: 12.92 kB / 0.5352 GB, free: 31.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.5995, allocations: 186.9 kB / 0.5354 GB, free: 31.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.5995, allocations: 3.906 kB / 0.5354 GB, free: 31.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.5996, allocations: 7.844 kB / 0.5354 GB, free: 31.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.5997, allocations: 96.17 kB / 0.5355 GB, free: 31.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.5998, allocations: 3.938 kB / 0.5355 GB, free: 31.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.5998, allocations: 0 / 0.5355 GB, free: 31.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.5998, allocations: 7.797 kB / 0.5355 GB, free: 31.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.5999, allocations: 67.08 kB / 0.5355 GB, free: 31.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.6005, allocations: 390.6 kB / 0.5359 GB, free: 31.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.6008, allocations: 111.1 kB / 0.536 GB, free: 31.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.6009, allocations: 83.56 kB / 0.5361 GB, free: 31.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.601, allocations: 38.16 kB / 0.5361 GB, free: 31.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.601, allocations: 4 kB / 0.5361 GB, free: 31.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005133/0.6015, allocations: 239.6 kB / 0.5364 GB, free: 30.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.6015, allocations: 53.98 kB / 0.5364 GB, free: 30.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.6016, allocations: 133.9 kB / 0.5365 GB, free: 30.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.6017, allocations: 25.7 kB / 0.5366 GB, free: 30.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.6017, allocations: 107.4 kB / 0.5367 GB, free: 30.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.6017, allocations: 22.42 kB / 0.5367 GB, free: 30.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.6017, allocations: 3.812 kB / 0.5367 GB, free: 30.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.163e-05/0.6018, allocations: 317.9 kB / 0.537 GB, free: 30.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.342e-05/0.6018, allocations: 30.25 kB / 0.537 GB, free: 30.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.915e-05/0.6019, allocations: 30.09 kB / 0.5371 GB, free: 30.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.329e-05/0.602, allocations: 37.83 kB / 0.5371 GB, free: 30.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.602, allocations: 3.953 kB / 0.5371 GB, free: 30.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000228/0.6022, allocations: 143.5 kB / 0.5372 GB, free: 30.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.6022, allocations: 11.72 kB / 0.5372 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6022, allocations: 4.656 kB / 0.5372 GB, free: 30.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002243/0.6025, allocations: 34.7 kB / 0.5373 GB, free: 30.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.746e-05/0.6025, allocations: 14.84 kB / 0.5373 GB, free: 30.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008896/0.6034, allocations: 1.335 MB / 0.5386 GB, free: 28.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.821e-05/0.6035, allocations: 7.812 kB / 0.5386 GB, free: 28.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.6035, allocations: 7.844 kB / 0.5386 GB, free: 28.94 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 9.045e-05/0.6036, allocations: 128.5 kB / 0.5387 GB, free: 28.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.6037, allocations: 7.844 kB / 0.5387 GB, free: 28.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.6039, allocations: 125.2 kB / 0.5389 GB, free: 28.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.6039, allocations: 0 / 0.5389 GB, free: 28.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.604, allocations: 0 / 0.5389 GB, free: 28.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.604, allocations: 0 / 0.5389 GB, free: 28.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.6041, allocations: 209.8 kB / 0.5391 GB, free: 28.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6041, allocations: 7.938 kB / 0.5391 GB, free: 28.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.742e-05/0.6042, allocations: 11.34 kB / 0.5391 GB, free: 28.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001352/0.6043, allocations: 33.27 kB / 0.5391 GB, free: 28.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.6043, allocations: 3.375 kB / 0.5391 GB, free: 28.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009051/0.6053, allocations: 1.336 MB / 0.5404 GB, free: 27.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6053, allocations: 0 / 0.5404 GB, free: 27.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.6055, allocations: 215.3 kB / 0.5406 GB, free: 27.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.6056, allocations: 91.95 kB / 0.5407 GB, free: 27.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.6056, allocations: 0 / 0.5407 GB, free: 27.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.6057, allocations: 6.781 kB / 0.5407 GB, free: 27.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.6057, allocations: 7.828 kB / 0.5407 GB, free: 27.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.6057, allocations: 10.55 kB / 0.5407 GB, free: 27.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.588e-05/0.6058, allocations: 108.1 kB / 0.5408 GB, free: 26.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6058, allocations: 0 / 0.5408 GB, free: 26.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002656/0.6061, allocations: 27.41 kB / 0.5409 GB, free: 26.96 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * 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: 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.0006231/0.6067, allocations: 0.7556 MB / 0.5416 GB, free: 26.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003443/0.6071, allocations: 198.3 kB / 0.5418 GB, free: 26.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6071, allocations: 0 / 0.5418 GB, free: 26.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.6073, allocations: 152.2 kB / 0.5419 GB, free: 26.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.6075, allocations: 15.09 kB / 0.5419 GB, free: 26.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000992/0.6085, allocations: 0.6662 MB / 0.5426 GB, free: 25.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.6088, allocations: 0.7028 MB / 0.5433 GB, free: 24.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.616e-05/0.6089, allocations: 10.56 kB / 0.5433 GB, free: 24.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/0.6089, allocations: 25.83 kB / 0.5433 GB, free: 24.95 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6089, allocations: 0 / 0.5433 GB, free: 24.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.6236, allocations: 2.514 MB / 0.5458 GB, free: 24.67 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/0.6238, allocations: 180.6 kB / 0.5459 GB, free: 24.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.376, allocations: 0 / 0.5459 GB, free: 24.43 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1)