Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",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.001534/0.001534, allocations: 180.8 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.513/1.513, allocations: 223.2 MB / 239.7 MB, free: 1.801 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.00102/0.00102, allocations: 100.2 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.06018/0.06018, allocations: 8.105 MB / 350.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.000385, allocations: 9.312 kB / 413.2 MB, free: 89.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1145, allocations: 52.54 MB / 465.7 MB, free: 41.96 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4837/0.5983, allocations: 79.05 MB / 0.532 GB, free: 16.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.5987, allocations: 62.34 kB / 0.5321 GB, free: 16.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01478/0.6135, allocations: 5.346 MB / 0.5373 GB, free: 32.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.6135, allocations: 0 / 0.5373 GB, free: 32.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.089e-05/0.6135, allocations: 4.312 kB / 0.5373 GB, free: 32.01 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001473/0.615, allocations: 0.5086 MB / 0.5378 GB, free: 31.6 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.894e-05/0.6151, allocations: 7.75 kB / 0.5378 GB, free: 31.6 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/0.6152, allocations: 43.64 kB / 0.5378 GB, free: 31.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.192e-05/0.6153, allocations: 11.81 kB / 0.5378 GB, free: 31.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.6156, allocations: 210.5 kB / 0.538 GB, free: 31.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.6157, allocations: 3.875 kB / 0.538 GB, free: 31.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.6157, allocations: 7.625 kB / 0.538 GB, free: 31.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.6161, allocations: 167.7 kB / 0.5382 GB, free: 31.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.6161, allocations: 0.7969 kB / 0.5382 GB, free: 31.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.6161, allocations: 0 / 0.5382 GB, free: 31.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.6161, allocations: 3.875 kB / 0.5382 GB, free: 31.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.6163, allocations: 120.9 kB / 0.5383 GB, free: 31.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.6174, allocations: 0.5146 MB / 0.5388 GB, free: 31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006461/0.6181, allocations: 154 kB / 0.539 GB, free: 30.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005634/0.6187, allocations: 0.5025 MB / 0.5395 GB, free: 30.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.6187, allocations: 30.56 kB / 0.5395 GB, free: 30.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.6187, allocations: 7.938 kB / 0.5395 GB, free: 30.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007769/0.6195, allocations: 260.4 kB / 0.5397 GB, free: 30.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.6196, allocations: 77.11 kB / 0.5398 GB, free: 30.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.6198, allocations: 162.4 kB / 0.54 GB, free: 30.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.6198, allocations: 25.7 kB / 0.54 GB, free: 30.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.838e-05/0.6199, allocations: 128.2 kB / 0.5401 GB, free: 29.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.6199, allocations: 33.3 kB / 0.5402 GB, free: 29.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.6199, allocations: 3.938 kB / 0.5402 GB, free: 29.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.6201, allocations: 320.7 kB / 0.5405 GB, free: 29.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.439e-05/0.6201, allocations: 48.97 kB / 0.5405 GB, free: 29.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.6203, allocations: 87.64 kB / 0.5406 GB, free: 29.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.6204, allocations: 63.38 kB / 0.5407 GB, free: 29.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6204, allocations: 0 / 0.5407 GB, free: 29.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005112/0.6209, allocations: 215.1 kB / 0.5409 GB, free: 29.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.6209, allocations: 5.594 kB / 0.5409 GB, free: 29.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.6209, allocations: 3.844 kB / 0.5409 GB, free: 29.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004474/0.6214, allocations: 69.31 kB / 0.5409 GB, free: 29.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.6215, allocations: 19.53 kB / 0.541 GB, free: 29.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.6231, allocations: 1.381 MB / 0.5423 GB, free: 28.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.6233, allocations: 18.55 kB / 0.5423 GB, free: 28.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.6233, allocations: 7.906 kB / 0.5423 GB, free: 28.26 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (15): * Single equations (assignments): 14 * 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 0.0001558/0.6235, allocations: 125.8 kB / 0.5424 GB, free: 28.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.6235, allocations: 11.72 kB / 0.5425 GB, free: 28.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004653/0.624, allocations: 160.1 kB / 0.5426 GB, free: 28.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.624, allocations: 4 kB / 0.5426 GB, free: 28.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.624, allocations: 3.844 kB / 0.5426 GB, free: 28.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.6241, allocations: 0 / 0.5426 GB, free: 28.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007212/0.6248, allocations: 454.6 kB / 0.5431 GB, free: 27.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6248, allocations: 0 / 0.5431 GB, free: 27.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.937e-05/0.6249, allocations: 11.75 kB / 0.5431 GB, free: 27.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003176/0.6252, allocations: 62.23 kB / 0.5431 GB, free: 27.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.6252, allocations: 0 / 0.5431 GB, free: 27.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/0.6267, allocations: 1.374 MB / 0.5445 GB, free: 26.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6267, allocations: 0 / 0.5445 GB, free: 26.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004474/0.6271, allocations: 248.8 kB / 0.5447 GB, free: 26.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.032e-05/0.6272, allocations: 91.06 kB / 0.5448 GB, free: 26.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.6273, allocations: 9.125 kB / 0.5448 GB, free: 26.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.6274, allocations: 4.906 kB / 0.5448 GB, free: 26.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.6274, allocations: 20.69 kB / 0.5448 GB, free: 26.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.6275, allocations: 3.719 kB / 0.5448 GB, free: 26.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000155/0.6276, allocations: 140 kB / 0.545 GB, free: 26.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6276, allocations: 0 / 0.545 GB, free: 26.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003624/0.628, allocations: 43.34 kB / 0.545 GB, free: 26.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0009557/0.629, allocations: 0.8675 MB / 0.5458 GB, free: 25.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005952/0.6296, allocations: 231.2 kB / 0.5461 GB, free: 25.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.6296, allocations: 3.906 kB / 0.5461 GB, free: 25.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003037/0.6299, allocations: 151 kB / 0.5462 GB, free: 25.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.6301, allocations: 9.188 kB / 0.5462 GB, free: 25.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.6319, allocations: 1.298 MB / 0.5475 GB, free: 24.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.6323, allocations: 0.7103 MB / 0.5482 GB, free: 23.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.6324, allocations: 12.33 kB / 0.5482 GB, free: 23.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.691e-05/0.6325, allocations: 36.31 kB / 0.5482 GB, free: 23.46 MB / 378.7 MB Notification: Performance of SimCode: time 2.274e-06/0.6325, allocations: 4 kB / 0.5482 GB, free: 23.46 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0202/0.6527, allocations: 3.156 MB / 0.5513 GB, free: 23.14 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003225/0.6531, allocations: 188.2 kB / 0.5515 GB, free: 22.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/2.502, allocations: 3.938 kB / 0.5515 GB, free: 22.9 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1)