Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",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.00147/0.001471, allocations: 179.4 kB / 13.23 MB, free: 2.082 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.388/1.388, allocations: 221.4 MB / 235.1 MB, free: 14.39 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.0009419/0.0009417, allocations: 102.6 kB / 286.1 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05619/0.05619, allocations: 8.1 MB / 345.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.854e-05/3.876e-05, allocations: 0 / 405.6 MB, free: 61.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1008, allocations: 52.52 MB / 458.1 MB, free: 9.359 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3777/0.4785, allocations: 80.84 MB / 0.5263 GB, free: 5.172 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.4788, allocations: 60.84 kB / 0.5263 GB, free: 5.145 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02138/0.5002, allocations: 8.251 MB / 0.5344 GB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5002, allocations: 4 kB / 0.5344 GB, free: 14.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.5002, allocations: 4 kB / 0.5344 GB, free: 14.47 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001586/0.5018, allocations: 0.6319 MB / 0.535 GB, free: 13.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.5019, allocations: 12.03 kB / 0.535 GB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.59e-05/0.502, allocations: 52.98 kB / 0.5351 GB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.014e-05/0.502, allocations: 27.66 kB / 0.5351 GB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.5023, allocations: 262.5 kB / 0.5354 GB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.5024, allocations: 15.33 kB / 0.5354 GB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.301e-05/0.5024, allocations: 11.38 kB / 0.5354 GB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004365/0.5029, allocations: 280.6 kB / 0.5357 GB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.5029, allocations: 4 kB / 0.5357 GB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.5029, allocations: 10.7 kB / 0.5357 GB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.5029, allocations: 4 kB / 0.5357 GB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003514/0.5033, allocations: 244.1 kB / 0.5359 GB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.5049, allocations: 1.19 MB / 0.5371 GB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005782/0.5055, allocations: 303.9 kB / 0.5374 GB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.5057, allocations: 157.8 kB / 0.5375 GB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/0.5058, allocations: 93.08 kB / 0.5376 GB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.5059, allocations: 34.31 kB / 0.5376 GB, free: 11.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.5059, allocations: 3.938 kB / 0.5376 GB, free: 11.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001697/0.5076, allocations: 0.5714 MB / 0.5382 GB, free: 11.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.5077, allocations: 81.11 kB / 0.5383 GB, free: 11.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.5079, allocations: 182.7 kB / 0.5384 GB, free: 10.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.5079, allocations: 31.64 kB / 0.5385 GB, free: 10.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.917e-05/0.508, allocations: 130.2 kB / 0.5386 GB, free: 10.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.36e-05/0.5081, allocations: 81.02 kB / 0.5387 GB, free: 10.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.734e-05/0.5081, allocations: 5.312 kB / 0.5387 GB, free: 10.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.5082, allocations: 335.3 kB / 0.539 GB, free: 10.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.5084, allocations: 139.3 kB / 0.5391 GB, free: 10.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.5086, allocations: 154.1 kB / 0.5393 GB, free: 10.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.5088, allocations: 146.6 kB / 0.5394 GB, free: 10.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.5088, allocations: 4.031 kB / 0.5394 GB, free: 10.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001633/0.5105, allocations: 0.6081 MB / 0.54 GB, free: 9.727 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.5105, allocations: 4 kB / 0.54 GB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.5105, allocations: 0 / 0.54 GB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001647/0.5122, allocations: 340.5 kB / 0.5403 GB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.5124, allocations: 43.72 kB / 0.5404 GB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/0.5158, allocations: 2.424 MB / 0.5428 GB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.5161, allocations: 23.5 kB / 0.5428 GB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.5161, allocations: 7.984 kB / 0.5428 GB, free: 7.402 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 (21): * Single equations (assignments): 20 * 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: 0 * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 9.922e-05/0.5162, allocations: 111.6 kB / 0.5429 GB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.5163, allocations: 27.77 kB / 0.5429 GB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.518, allocations: 0.6526 MB / 0.5436 GB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.5181, allocations: 7.938 kB / 0.5436 GB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.5181, allocations: 3.953 kB / 0.5436 GB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.5181, allocations: 3.984 kB / 0.5436 GB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.5185, allocations: 426.7 kB / 0.544 GB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.5185, allocations: 0 / 0.544 GB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.5187, allocations: 39.16 kB / 0.544 GB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001507/0.5202, allocations: 335.6 kB / 0.5443 GB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.5203, allocations: 2.875 kB / 0.5443 GB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003207/0.5235, allocations: 2.395 MB / 0.5467 GB, free: 4.148 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/0.5235, allocations: 12 kB / 0.5467 GB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.5251, allocations: 0.6873 MB / 0.5474 GB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/0.5252, allocations: 107.4 kB / 0.5475 GB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.5253, allocations: 3.688 kB / 0.5475 GB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.5255, allocations: 19.55 kB / 0.5475 GB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.5256, allocations: 23.47 kB / 0.5475 GB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.5256, allocations: 15.75 kB / 0.5475 GB, free: 3.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001334/0.5258, allocations: 156 kB / 0.5477 GB, free: 3.301 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5258, allocations: 0 / 0.5477 GB, free: 3.301 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004288/0.5262, allocations: 102.7 kB / 0.5478 GB, free: 3.211 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 (22): * Single equations (assignments): 21 * 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: 0 * Non-linear torn systems: 1 {3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001909/0.5281, allocations: 1.251 MB / 0.549 GB, free: 2.098 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.5292, allocations: 0.5159 MB / 0.5495 GB, free: 1.719 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5292, allocations: 0 / 0.5495 GB, free: 1.719 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007114/0.5299, allocations: 373 kB / 0.5498 GB, free: 1.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.5302, allocations: 18.31 kB / 0.5499 GB, free: 1.422 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006942/0.5309, allocations: 345.9 kB / 0.5502 GB, free: 1.113 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.5312, allocations: 0.7527 MB / 0.5509 GB, free: 344 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.5313, allocations: 26.05 kB / 0.551 GB, free: 320 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.5314, allocations: 74.77 kB / 0.551 GB, free: 284 kB / 362.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5314, allocations: 4 kB / 0.551 GB, free: 280 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.5512, allocations: 8.336 MB / 0.5592 GB, free: 8.102 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/0.5514, allocations: 193 kB / 0.5594 GB, free: 7.871 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.766/2.317, allocations: 0 / 0.5594 GB, free: 7.871 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1)