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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 102.8 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008194/0.0008195, allocations: 181.7 kB / 16.97 MB, free: 6.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1413/0.1413, allocations: 8.091 MB / 300.2 MB, free: 2.934 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004476, allocations: 12 kB / 363.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1037, allocations: 52.52 MB / 416.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.001215/0.1049, allocations: 0.7767 MB / 416.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.1068, allocations: 1.419 MB / 418.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.16e-05/0.1069, allocations: 4 kB / 418.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.1072, allocations: 87.67 kB / 418.4 MB, free: 6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.1074, allocations: 71.66 kB / 418.5 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.1088, allocations: 0.8484 MB / 419.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.109, allocations: 103.5 kB / 419.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.807e-05/0.1091, allocations: 29.08 kB / 419.4 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.632e-05/0.1091, allocations: 39.86 kB / 419.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.571e-05/0.1092, allocations: 55.7 kB / 419.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1093, allocations: 4 kB / 419.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003177/0.1096, allocations: 195.8 kB / 419.7 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.121e-05/0.1096, allocations: 27.91 kB / 419.8 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.53e-05/0.1097, allocations: 77.38 kB / 419.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.11, allocations: 267.5 kB / 420.1 MB, free: 4.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1101, allocations: 0 / 420.1 MB, free: 4.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1101, allocations: 0 / 420.1 MB, free: 4.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1101, allocations: 0 / 420.1 MB, free: 4.289 MB / 350.1 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.001745/0.1118, allocations: 0.6317 MB / 420.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1119, allocations: 11.97 kB / 420.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.1119, allocations: 38.75 kB / 420.8 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.112, allocations: 8.844 kB / 420.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.1122, allocations: 216.1 kB / 421 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1122, allocations: 8.375 kB / 421 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.1122, allocations: 8.375 kB / 421 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.1125, allocations: 163.8 kB / 421.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.1125, allocations: 7.938 kB / 421.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.1125, allocations: 0 / 421.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.1125, allocations: 4 kB / 421.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.1127, allocations: 123.9 kB / 421.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007303/0.1135, allocations: 488.4 kB / 421.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006108/0.1141, allocations: 182.5 kB / 422 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.439e-05/0.1142, allocations: 44.86 kB / 422 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000437/0.1146, allocations: 462.2 kB / 422.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.1147, allocations: 42.5 kB / 422.5 MB, free: 1.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.1147, allocations: 0 / 422.5 MB, free: 1.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007671/0.1154, allocations: 295.4 kB / 422.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.1155, allocations: 77.11 kB / 422.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.1157, allocations: 158.3 kB / 423 MB, free: 1.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.1157, allocations: 25.7 kB / 423 MB, free: 1.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.022e-05/0.1158, allocations: 119.7 kB / 423.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.1158, allocations: 31.55 kB / 423.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.1159, allocations: 26.05 kB / 423.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.116, allocations: 326.8 kB / 423.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.1161, allocations: 63.91 kB / 423.6 MB, free: 484 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.1162, allocations: 111 kB / 423.7 MB, free: 352 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.1165, allocations: 178.7 kB / 423.9 MB, free: 156 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1165, allocations: 0 / 423.9 MB, free: 156 kB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.1535/0.27, allocations: 255.2 kB / 424.1 MB, free: 41.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.2701, allocations: 8.719 kB / 424.1 MB, free: 41.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.2701, allocations: 0 / 424.1 MB, free: 41.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000419/0.2705, allocations: 73.8 kB / 424.2 MB, free: 41.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.2707, allocations: 35.06 kB / 424.2 MB, free: 41.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.2717, allocations: 1.372 MB / 425.6 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.2719, allocations: 23.28 kB / 425.6 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.2719, allocations: 9.719 kB / 425.6 MB, free: 40.04 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.831e-05/0.272, allocations: 130.3 kB / 425.8 MB, free: 39.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.2721, allocations: 13.12 kB / 425.8 MB, free: 39.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004245/0.2725, allocations: 187.8 kB / 426 MB, free: 39.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.2725, allocations: 3.188 kB / 426 MB, free: 39.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.2725, allocations: 0 / 426 MB, free: 39.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.2725, allocations: 5.172 kB / 426 MB, free: 39.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.2727, allocations: 232.2 kB / 426.2 MB, free: 39.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2727, allocations: 2.109 kB / 426.2 MB, free: 39.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.966e-05/0.2728, allocations: 15.03 kB / 426.2 MB, free: 39.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003194/0.2731, allocations: 72.73 kB / 426.3 MB, free: 39.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.2732, allocations: 7.109 kB / 426.3 MB, free: 39.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008813/0.274, allocations: 1.368 MB / 427.7 MB, free: 38.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.2741, allocations: 0 / 427.7 MB, free: 38.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.2744, allocations: 275 kB / 427.9 MB, free: 38.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.901e-05/0.2745, allocations: 92.83 kB / 428 MB, free: 38.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.2745, allocations: 3.156 kB / 428 MB, free: 38.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.2746, allocations: 5.969 kB / 428 MB, free: 38.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.2746, allocations: 10.73 kB / 428 MB, free: 38.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.2747, allocations: 5.484 kB / 428 MB, free: 38.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.842e-05/0.2747, allocations: 121.9 kB / 428.2 MB, free: 38.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2747, allocations: 0 / 428.2 MB, free: 38.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.275, allocations: 43.22 kB / 428.2 MB, free: 38.12 MB / 350.1 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005484/0.2756, allocations: 0.8095 MB / 429 MB, free: 37.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004729/0.2761, allocations: 273.8 kB / 429.3 MB, free: 37.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2761, allocations: 0 / 429.3 MB, free: 37.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000263/0.2764, allocations: 183 kB / 429.5 MB, free: 37.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.2766, allocations: 13.94 kB / 429.5 MB, free: 37.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.2784, allocations: 1.985 MB / 431.5 MB, free: 35.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.2785, allocations: 0.7026 MB / 432.2 MB, free: 35.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.265e-05/0.2786, allocations: 13.86 kB / 432.2 MB, free: 35.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.398e-05/0.2786, allocations: 35.94 kB / 432.2 MB, free: 35.19 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2786, allocations: 4 kB / 432.2 MB, free: 35.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01244/0.2911, allocations: 3.221 MB / 435.4 MB, free: 34.91 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.2912, allocations: 203.3 kB / 435.6 MB, free: 34.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/1.975, allocations: 3.5 kB / 435.6 MB, free: 34.66 MB / 350.1 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/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)