Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",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.001571/0.001571, allocations: 100.8 kB / 16.45 MB, free: 6.441 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.001771/0.001771, allocations: 192.5 kB / 17.39 MB, free: 5.688 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.47/1.47, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04438/0.04438, allocations: 8.097 MB / 299.3 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.89 kB / 414 MB, free: 22.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09149/0.09277, allocations: 51.52 MB / 465.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1): time 0.004168/0.09698, allocations: 2.685 MB / 468.2 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002576/0.09959, allocations: 1.625 MB / 469.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000365/0.09998, allocations: 8 kB / 469.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000536/0.1005, allocations: 171 kB / 470 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007046/0.1013, allocations: 226.5 kB / 470.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002244/0.1035, allocations: 1.241 MB / 471.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006907/0.1042, allocations: 457.8 kB / 471.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.1045, allocations: 181.2 kB / 472.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.1048, allocations: 183.3 kB / 472.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003456/0.1051, allocations: 231.1 kB / 472.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.174e-05/0.1052, allocations: 36 kB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005303/0.1058, allocations: 279.7 kB / 472.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.906e-05/0.1059, allocations: 87.69 kB / 472.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002131/0.1061, allocations: 226.9 kB / 473.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008131/0.1069, allocations: 0.6312 MB / 473.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1069, allocations: 0 / 473.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1069, allocations: 0 / 473.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.107, allocations: 0 / 473.7 MB, free: 10.42 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004956/0.1119, allocations: 1.4 MB / 475.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.112, allocations: 15.89 kB / 475.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.206e-05/0.1121, allocations: 74.66 kB / 475.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.1122, allocations: 48.38 kB / 475.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.1126, allocations: 335.5 kB / 475.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.1126, allocations: 29.03 kB / 475.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-05/0.1127, allocations: 40.38 kB / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007651/0.1135, allocations: 0.5062 MB / 476.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.1135, allocations: 7.938 kB / 476.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.142e-05/0.1135, allocations: 12 kB / 476.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1136, allocations: 8 kB / 476.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006559/0.1142, allocations: 454.4 kB / 476.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002636/0.1169, allocations: 2.103 MB / 478.7 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008978/0.1178, allocations: 0.5785 MB / 479.3 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/0.1181, allocations: 272.8 kB / 479.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.892e-05/0.1182, allocations: 19.97 kB / 479.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.1183, allocations: 46.44 kB / 479.6 MB, free: 4.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.643e-06/0.1183, allocations: 0 / 479.6 MB, free: 4.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006893/0.1252, allocations: 1.927 MB / 481.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.1253, allocations: 110.8 kB / 481.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.1255, allocations: 274.9 kB / 481.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.915e-05/0.1256, allocations: 37.7 kB / 482 MB, free: 1.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1257, allocations: 192.5 kB / 482.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.1259, allocations: 141.9 kB / 482.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.1261, allocations: 106.2 kB / 482.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1262, allocations: 338.8 kB / 482.7 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004126/0.1266, allocations: 289 kB / 483 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/0.127, allocations: 336.6 kB / 483.4 MB, free: 316 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008828/0.1279, allocations: 0.6295 MB / 484 MB, free: 15.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1279, allocations: 0 / 484 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003206/0.1312, allocations: 1.244 MB / 485.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.1312, allocations: 4 kB / 485.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1312, allocations: 0 / 485.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003432/0.1346, allocations: 0.7771 MB / 486 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/0.135, allocations: 87.88 kB / 486.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00698/0.142, allocations: 4.002 MB / 490.1 MB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004179/0.1424, allocations: 59.42 kB / 490.2 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.1425, allocations: 16 kB / 490.2 MB, free: 9.348 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.0002146/0.1427, allocations: 169.7 kB / 490.3 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.289e-05/0.1428, allocations: 31.62 kB / 490.4 MB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003253/0.1461, allocations: 1.183 MB / 491.5 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.1461, allocations: 4 kB / 491.6 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.1461, allocations: 0 / 491.6 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.1461, allocations: 3.984 kB / 491.6 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003726/0.1499, allocations: 1.763 MB / 493.3 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.1499, allocations: 3.938 kB / 493.3 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.1501, allocations: 63.91 kB / 493.4 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003269/0.1534, allocations: 0.7451 MB / 494.1 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.48e-05/0.1534, allocations: 15.98 kB / 494.1 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0066/0.16, allocations: 3.958 MB / 498.1 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1601, allocations: 320 / 498.1 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003065/0.1631, allocations: 1.188 MB / 499.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.1633, allocations: 120.5 kB / 499.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.725e-05/0.1633, allocations: 8 kB / 499.4 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003575/0.1637, allocations: 23.98 kB / 499.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.1638, allocations: 36.39 kB / 499.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.11e-05/0.1639, allocations: 19.92 kB / 499.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002003/0.1641, allocations: 194 kB / 499.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1641, allocations: 0 / 499.7 MB, free: 15.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006148/0.1647, allocations: 191.8 kB / 499.9 MB, free: 15.38 MB / 382.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 (35): * Single equations (assignments): 34 * 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.003419/0.1681, allocations: 1.755 MB / 0.4899 GB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002387/0.1705, allocations: 1.019 MB / 0.4909 GB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.1705, allocations: 8 kB / 0.4909 GB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001709/0.1723, allocations: 0.6569 MB / 0.4915 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.1727, allocations: 36.88 kB / 0.4916 GB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009722/0.1824, allocations: 5.122 MB / 0.4966 GB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.1829, allocations: 0.813 MB / 0.4973 GB, free: 5.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001986/0.1831, allocations: 50.92 kB / 0.4974 GB, free: 5.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.1833, allocations: 135.3 kB / 0.4975 GB, free: 5.613 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1833, allocations: 0 / 0.4975 GB, free: 5.613 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2355/0.4188, allocations: 15.5 MB / 0.5127 GB, free: 45.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.32, allocations: 3.031 kB / 0.5127 GB, free: 45.05 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe 2>&1)