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.001296/0.001296, allocations: 182.3 kB / 13.23 MB, free: 2.086 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.363/1.363, allocations: 221.4 MB / 235.1 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008481/0.0008482, allocations: 97.62 kB / 286.1 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04942/0.04942, allocations: 8.1 MB / 345.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.045e-05/3.047e-05, allocations: 4 kB / 405.6 MB, free: 61.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09722/0.09727, allocations: 52.52 MB / 458.1 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3981/0.4954, allocations: 79.25 MB / 0.5247 GB, free: 6.758 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/0.4957, allocations: 62.72 kB / 0.5248 GB, free: 6.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01394/0.5096, allocations: 5.325 MB / 0.53 GB, free: 2.398 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.5097, allocations: 3.938 kB / 0.53 GB, free: 2.395 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.5097, allocations: 0 / 0.53 GB, free: 2.395 MB / 346.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.001287/0.511, allocations: 0.4945 MB / 0.5305 GB, free: 1.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.029e-05/0.5111, allocations: 8.031 kB / 0.5305 GB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.145e-05/0.5111, allocations: 45.3 kB / 0.5305 GB, free: 1.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.5112, allocations: 11.81 kB / 0.5305 GB, free: 1.809 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.5115, allocations: 203 kB / 0.5307 GB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.5115, allocations: 6.5 kB / 0.5307 GB, free: 1.578 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.5116, allocations: 6.5 kB / 0.5307 GB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.512, allocations: 164.8 kB / 0.5309 GB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.512, allocations: 0 / 0.5309 GB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.624e-05/0.5121, allocations: 6.922 kB / 0.5309 GB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5121, allocations: 0 / 0.5309 GB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.5123, allocations: 121.5 kB / 0.531 GB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.5134, allocations: 0.514 MB / 0.5315 GB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006059/0.514, allocations: 148.5 kB / 0.5317 GB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.547e-05/0.5141, allocations: 36.67 kB / 0.5317 GB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005615/0.5146, allocations: 0.5114 MB / 0.5322 GB, free: 244 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.5147, allocations: 38.55 kB / 0.5322 GB, free: 196 kB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.5147, allocations: 0 / 0.5322 GB, free: 196 kB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004912/0.5152, allocations: 138.1 kB / 0.5324 GB, free: 76 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.659e-05/0.5153, allocations: 81.09 kB / 0.5324 GB, free: 15.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.5155, allocations: 164.5 kB / 0.5326 GB, free: 15.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.5155, allocations: 33.02 kB / 0.5326 GB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.297e-05/0.5156, allocations: 120.7 kB / 0.5328 GB, free: 15.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.5156, allocations: 22.84 kB / 0.5328 GB, free: 15.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.5157, allocations: 7.062 kB / 0.5328 GB, free: 15.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.5158, allocations: 317.9 kB / 0.5331 GB, free: 15.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.5159, allocations: 45.69 kB / 0.5331 GB, free: 15.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.516, allocations: 84.69 kB / 0.5332 GB, free: 15.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.5161, allocations: 72.06 kB / 0.5333 GB, free: 15.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.5161, allocations: 0 / 0.5333 GB, free: 15.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004564/0.5166, allocations: 210.1 kB / 0.5335 GB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.5166, allocations: 13.81 kB / 0.5335 GB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.5167, allocations: 3.953 kB / 0.5335 GB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000374/0.517, allocations: 67.36 kB / 0.5336 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.5172, allocations: 27.92 kB / 0.5336 GB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.5185, allocations: 1.373 MB / 0.5349 GB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.5186, allocations: 15.91 kB / 0.5349 GB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.5186, allocations: 11.31 kB / 0.5349 GB, free: 13.5 MB / 362.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 () * 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 9.056e-05/0.5187, allocations: 109.8 kB / 0.5351 GB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.5188, allocations: 15.81 kB / 0.5351 GB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000416/0.5192, allocations: 167 kB / 0.5352 GB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.5192, allocations: 0 / 0.5352 GB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-06/0.5192, allocations: 3.938 kB / 0.5352 GB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.5192, allocations: 0 / 0.5352 GB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005956/0.5198, allocations: 444.8 kB / 0.5357 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5199, allocations: 8.031 kB / 0.5357 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.675e-05/0.5199, allocations: 4 kB / 0.5357 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002817/0.5202, allocations: 59.31 kB / 0.5357 GB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.5202, allocations: 3.984 kB / 0.5357 GB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/0.5214, allocations: 1.366 MB / 0.5371 GB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5214, allocations: 0 / 0.5371 GB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.5218, allocations: 252.6 kB / 0.5373 GB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.497e-05/0.5219, allocations: 96.5 kB / 0.5374 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.5219, allocations: 8.062 kB / 0.5374 GB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.522, allocations: 11.89 kB / 0.5374 GB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.522, allocations: 3.984 kB / 0.5374 GB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.522, allocations: 4 kB / 0.5374 GB, free: 10.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.5222, allocations: 142.3 kB / 0.5376 GB, free: 10.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5222, allocations: 0 / 0.5376 GB, free: 10.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002965/0.5225, allocations: 38.44 kB / 0.5376 GB, free: 10.78 MB / 362.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 () * 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.0007866/0.5233, allocations: 0.8747 MB / 0.5384 GB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000592/0.5239, allocations: 222.3 kB / 0.5387 GB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5239, allocations: 0 / 0.5387 GB, free: 9.703 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003194/0.5242, allocations: 156.3 kB / 0.5388 GB, free: 9.551 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.5244, allocations: 10.81 kB / 0.5388 GB, free: 9.543 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.5249, allocations: 190.8 kB / 0.539 GB, free: 9.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.5252, allocations: 0.7048 MB / 0.5397 GB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.272e-05/0.5253, allocations: 12.88 kB / 0.5397 GB, free: 8.594 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.445e-05/0.5253, allocations: 36.98 kB / 0.5397 GB, free: 8.574 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5254, allocations: 0 / 0.5397 GB, free: 8.574 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.5416, allocations: 3.269 MB / 0.5429 GB, free: 5.434 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.5418, allocations: 157.1 kB / 0.5431 GB, free: 5.211 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.126, allocations: 0 / 0.5431 GB, free: 5.211 MB / 362.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)