Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",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.001833/0.001833, allocations: 182.1 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.407/1.407, allocations: 221.4 MB / 235.1 MB, free: 14.38 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.0009633/0.0009633, allocations: 86.39 kB / 286.1 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05081/0.05081, allocations: 8.104 MB / 345.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.395e-05/3.412e-05, allocations: 4 kB / 405.6 MB, free: 61.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08513/0.08518, allocations: 52.52 MB / 458.1 MB, free: 9.367 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4301/0.5154, allocations: 80.08 MB / 0.5255 GB, free: 5.922 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.5157, allocations: 65.36 kB / 0.5256 GB, free: 5.891 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02239/0.5381, allocations: 8.675 MB / 0.5341 GB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5381, allocations: 4 kB / 0.5341 GB, free: 14.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.5381, allocations: 11.88 kB / 0.5341 GB, free: 14.83 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.001901/0.54, allocations: 0.6719 MB / 0.5347 GB, free: 14.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.5401, allocations: 8.031 kB / 0.5347 GB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.894e-05/0.5402, allocations: 57.17 kB / 0.5348 GB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.308e-05/0.5403, allocations: 23.72 kB / 0.5348 GB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.5406, allocations: 257.2 kB / 0.5351 GB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.5406, allocations: 15.7 kB / 0.5351 GB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.5407, allocations: 14.44 kB / 0.5351 GB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004535/0.5411, allocations: 300.6 kB / 0.5354 GB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5412, allocations: 0 / 0.5354 GB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.5412, allocations: 3 kB / 0.5354 GB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.5412, allocations: 8 kB / 0.5354 GB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/0.5416, allocations: 249.2 kB / 0.5356 GB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.5434, allocations: 1.223 MB / 0.5368 GB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006029/0.544, allocations: 313.2 kB / 0.5371 GB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.5443, allocations: 152.3 kB / 0.5373 GB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.5444, allocations: 85.09 kB / 0.5374 GB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.5445, allocations: 42.62 kB / 0.5374 GB, free: 11.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.285e-06/0.5445, allocations: 4 kB / 0.5374 GB, free: 11.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001968/0.5465, allocations: 0.6132 MB / 0.538 GB, free: 11.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.374e-05/0.5466, allocations: 106.8 kB / 0.5381 GB, free: 11.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.5468, allocations: 183.8 kB / 0.5383 GB, free: 11.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.5468, allocations: 32.77 kB / 0.5383 GB, free: 11.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.909e-05/0.5469, allocations: 140 kB / 0.5384 GB, free: 11.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.914e-05/0.547, allocations: 84.92 kB / 0.5385 GB, free: 10.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/0.547, allocations: 7.562 kB / 0.5385 GB, free: 10.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5471, allocations: 333.6 kB / 0.5388 GB, free: 10.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.5473, allocations: 125.2 kB / 0.539 GB, free: 10.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.5475, allocations: 172 kB / 0.5391 GB, free: 10.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.5478, allocations: 156 kB / 0.5393 GB, free: 10.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5478, allocations: 4.031 kB / 0.5393 GB, free: 10.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001843/0.5496, allocations: 0.6237 MB / 0.5399 GB, free: 9.898 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.5497, allocations: 4 kB / 0.5399 GB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.5497, allocations: 0 / 0.5399 GB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/0.5516, allocations: 394 kB / 0.5403 GB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.5518, allocations: 39.91 kB / 0.5403 GB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004421/0.5562, allocations: 2.553 MB / 0.5428 GB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.5565, allocations: 19.59 kB / 0.5428 GB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.5565, allocations: 11.98 kB / 0.5428 GB, free: 7.41 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 {5 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.5567, allocations: 119.6 kB / 0.5429 GB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.969e-05/0.5567, allocations: 23.72 kB / 0.543 GB, free: 7.273 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.5588, allocations: 0.6961 MB / 0.5436 GB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.5588, allocations: 8 kB / 0.5437 GB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5588, allocations: 11.92 kB / 0.5437 GB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.5588, allocations: 0 / 0.5437 GB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.5593, allocations: 433.8 kB / 0.5441 GB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5593, allocations: 0 / 0.5441 GB, free: 6.383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.5595, allocations: 42.28 kB / 0.5441 GB, free: 6.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001827/0.5613, allocations: 381.6 kB / 0.5445 GB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.5613, allocations: 7.625 kB / 0.5445 GB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00407/0.5654, allocations: 2.537 MB / 0.547 GB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5654, allocations: 0 / 0.547 GB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.5674, allocations: 0.7346 MB / 0.5477 GB, free: 3.363 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.938e-05/0.5675, allocations: 107.5 kB / 0.5478 GB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.5676, allocations: 11.44 kB / 0.5478 GB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/0.5679, allocations: 23.3 kB / 0.5478 GB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.5679, allocations: 22.72 kB / 0.5478 GB, free: 3.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.568, allocations: 15.8 kB / 0.5479 GB, free: 3.184 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001604/0.5681, allocations: 157.6 kB / 0.548 GB, free: 3.055 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5681, allocations: 0 / 0.548 GB, free: 3.055 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004357/0.5686, allocations: 94.94 kB / 0.5481 GB, free: 2.969 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 {5 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002281/0.5709, allocations: 1.303 MB / 0.5494 GB, free: 1.816 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001616/0.5725, allocations: 0.5861 MB / 0.5499 GB, free: 1.367 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5725, allocations: 0 / 0.5499 GB, free: 1.367 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.5738, allocations: 435.9 kB / 0.5504 GB, free: 1.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.574, allocations: 18 kB / 0.5504 GB, free: 1.008 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007535/0.5748, allocations: 349.8 kB / 0.5507 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.5751, allocations: 0.7527 MB / 0.5514 GB, free: 15.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001322/0.5753, allocations: 34.05 kB / 0.5515 GB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.5754, allocations: 82.2 kB / 0.5516 GB, free: 15.85 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5754, allocations: 0 / 0.5516 GB, free: 15.85 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.5986, allocations: 8.618 MB / 0.56 GB, free: 7.402 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003126/0.599, allocations: 197 kB / 0.5602 GB, free: 7.152 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/2.435, allocations: 3.938 kB / 0.5602 GB, free: 7.148 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)