Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",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.001332/0.001331, allocations: 105.9 kB / 16.45 MB, free: 6.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001202, allocations: 190.6 kB / 17.39 MB, free: 5.691 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.321/1.321, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0475/0.0475, allocations: 8.094 MB / 299.3 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 63.91 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09375/0.0949, allocations: 51.52 MB / 465.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.003396/0.09834, allocations: 2.306 MB / 467.8 MB, free: 364 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002654/0.101, allocations: 1.668 MB / 469.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.1012, allocations: 8 kB / 469.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00051/0.1017, allocations: 155.1 kB / 469.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004388/0.1021, allocations: 218.7 kB / 469.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.1042, allocations: 1.217 MB / 471.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000637/0.1049, allocations: 410 kB / 471.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000249/0.1051, allocations: 134 kB / 471.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.1053, allocations: 171.3 kB / 471.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002874/0.1056, allocations: 207.1 kB / 472 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.185e-05/0.1057, allocations: 32 kB / 472 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005917/0.1063, allocations: 267.8 kB / 472.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.1064, allocations: 79.67 kB / 472.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.1066, allocations: 203 kB / 472.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007568/0.1073, allocations: 0.5733 MB / 473.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1073, allocations: 0 / 473.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1073, allocations: 4 kB / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.1074, allocations: 0 / 473.1 MB, free: 11.02 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004962/0.1123, allocations: 1.357 MB / 474.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1124, allocations: 15.89 kB / 474.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.069e-05/0.1125, allocations: 66.72 kB / 474.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.1126, allocations: 44.47 kB / 474.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.113, allocations: 327.5 kB / 474.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.113, allocations: 28.94 kB / 474.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.243e-05/0.113, allocations: 32.38 kB / 475 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007028/0.1138, allocations: 469 kB / 475.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.1138, allocations: 3.938 kB / 475.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.244e-05/0.1138, allocations: 16 kB / 475.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.1138, allocations: 12 kB / 475.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006378/0.1145, allocations: 414.1 kB / 475.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002744/0.1172, allocations: 2.013 MB / 477.9 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008665/0.1181, allocations: 0.5141 MB / 478.4 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.1185, allocations: 280.8 kB / 478.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.198e-05/0.1186, allocations: 11.98 kB / 478.7 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.1186, allocations: 42.5 kB / 478.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 3.026e-06/0.1186, allocations: 4 kB / 478.7 MB, free: 5.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006195/0.1248, allocations: 1.869 MB / 480.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.758e-05/0.1249, allocations: 114.8 kB / 480.7 MB, free: 3.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.1252, allocations: 270.9 kB / 481 MB, free: 2.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.951e-05/0.1253, allocations: 37.7 kB / 481 MB, free: 2.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.1254, allocations: 172.8 kB / 481.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.1255, allocations: 145.9 kB / 481.3 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.1257, allocations: 102.2 kB / 481.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1259, allocations: 342.8 kB / 481.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/0.1263, allocations: 297 kB / 482 MB, free: 1.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004531/0.1267, allocations: 352.6 kB / 482.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008978/0.1277, allocations: 0.649 MB / 483 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1277, allocations: 32 / 483 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003277/0.1309, allocations: 1.264 MB / 484.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.131, allocations: 11.94 kB / 484.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.131, allocations: 4 kB / 484.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003412/0.1344, allocations: 0.7803 MB / 485.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003549/0.1348, allocations: 91.88 kB / 485.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007441/0.1422, allocations: 4.162 MB / 489.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004113/0.1427, allocations: 55.44 kB / 489.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.13e-05/0.1427, allocations: 19.98 kB / 489.4 MB, free: 10.11 MB / 366.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002142/0.143, allocations: 170.5 kB / 489.6 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.123e-05/0.1431, allocations: 35.62 kB / 489.6 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003394/0.1465, allocations: 1.222 MB / 490.8 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.1465, allocations: 7.984 kB / 490.8 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.1465, allocations: 0 / 490.8 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.1465, allocations: 3.984 kB / 490.9 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006052/0.1471, allocations: 0.5637 MB / 491.4 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1471, allocations: 7.938 kB / 491.4 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.1473, allocations: 63.91 kB / 491.5 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003183/0.1505, allocations: 0.7455 MB / 492.2 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/0.1506, allocations: 19.98 kB / 492.2 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0066/0.1572, allocations: 4.12 MB / 496.4 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1572, allocations: 0 / 496.4 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003175/0.1604, allocations: 1.242 MB / 497.6 MB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.1605, allocations: 120.5 kB / 497.7 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.429e-05/0.1606, allocations: 4 kB / 497.7 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.1609, allocations: 31.92 kB / 497.8 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.426e-05/0.161, allocations: 40.33 kB / 497.8 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/0.1611, allocations: 19.98 kB / 497.8 MB, free: 1.441 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001928/0.1613, allocations: 194 kB / 498 MB, free: 1.254 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1613, allocations: 0 / 498 MB, free: 1.254 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006223/0.1619, allocations: 171.9 kB / 498.2 MB, free: 1.086 MB / 366.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 (36): * Single equations (assignments): 35 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003547/0.1655, allocations: 1.802 MB / 500 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002377/0.1679, allocations: 1.047 MB / 0.4893 GB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.1679, allocations: 0 / 0.4893 GB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001695/0.1696, allocations: 0.6882 MB / 0.49 GB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.17, allocations: 32.89 kB / 0.49 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009774/0.1798, allocations: 5.194 MB / 0.4951 GB, free: 8.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.1802, allocations: 0.7935 MB / 0.4958 GB, free: 7.363 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.1804, allocations: 50.92 kB / 0.4959 GB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000178/0.1806, allocations: 127.4 kB / 0.496 GB, free: 7.188 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1806, allocations: 3.938 kB / 0.496 GB, free: 7.184 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2333/0.4139, allocations: 15.76 MB / 0.5114 GB, free: 46.02 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.4, allocations: 8.875 kB / 0.5114 GB, free: 46.02 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe 2>&1)