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.001177/0.001177, allocations: 106.7 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.001317/0.001317, allocations: 189.5 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.303/1.303, 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.04827/0.04827, allocations: 8.1 MB / 299.3 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 59.91 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09727/0.0984, allocations: 51.53 MB / 465.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.003768/0.1022, allocations: 2.302 MB / 467.8 MB, free: 368 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002825/0.1051, allocations: 1.668 MB / 469.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003336/0.1054, allocations: 8 kB / 469.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005724/0.1061, allocations: 159.1 kB / 469.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007757/0.1068, allocations: 210.6 kB / 469.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.1091, allocations: 1.214 MB / 471.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006792/0.1098, allocations: 421.9 kB / 471.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/0.1101, allocations: 130 kB / 471.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.1103, allocations: 171.3 kB / 471.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003684/0.1107, allocations: 203.1 kB / 472 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.466e-05/0.1108, allocations: 35.94 kB / 472 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005463/0.1114, allocations: 267.8 kB / 472.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.987e-05/0.1115, allocations: 79.69 kB / 472.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002266/0.1117, allocations: 199 kB / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000759/0.1125, allocations: 0.5734 MB / 473.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1125, allocations: 0 / 473.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1125, allocations: 0 / 473.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.1125, allocations: 0 / 473.1 MB, free: 11.03 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.004973/0.1175, allocations: 1.365 MB / 474.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.1175, allocations: 11.89 kB / 474.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.665e-05/0.1176, allocations: 66.72 kB / 474.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.1178, allocations: 40.47 kB / 474.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.1182, allocations: 331.5 kB / 474.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.1182, allocations: 24.94 kB / 474.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/0.1183, allocations: 32.38 kB / 475 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007432/0.1191, allocations: 476.9 kB / 475.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1191, allocations: 3.938 kB / 475.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/0.1191, allocations: 12 kB / 475.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.1192, allocations: 8 kB / 475.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000621/0.1198, allocations: 430.1 kB / 475.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/0.1224, allocations: 2.001 MB / 477.9 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008587/0.1232, allocations: 0.5218 MB / 478.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003608/0.1236, allocations: 280.8 kB / 478.7 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.958e-05/0.1237, allocations: 8 kB / 478.7 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.1237, allocations: 38.56 kB / 478.7 MB, free: 5.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.562e-06/0.1237, allocations: 3.938 kB / 478.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006358/0.1301, allocations: 1.877 MB / 480.6 MB, free: 3.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.1302, allocations: 106.8 kB / 480.7 MB, free: 3.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.1305, allocations: 278.7 kB / 481 MB, free: 2.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.053e-05/0.1306, allocations: 37.7 kB / 481 MB, free: 2.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1307, allocations: 168.8 kB / 481.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.1308, allocations: 141.8 kB / 481.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.131, allocations: 114.2 kB / 481.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1311, allocations: 338.8 kB / 481.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004239/0.1316, allocations: 301 kB / 482 MB, free: 1.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/0.132, allocations: 340.7 kB / 482.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009132/0.133, allocations: 0.649 MB / 483 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.133, allocations: 0 / 483 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003336/0.1363, allocations: 1.268 MB / 484.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.1363, allocations: 7.938 kB / 484.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1364, allocations: 0 / 484.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003423/0.1398, allocations: 0.7915 MB / 485.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.1402, allocations: 91.88 kB / 485.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007311/0.1475, allocations: 4.159 MB / 489.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004618/0.148, allocations: 55.44 kB / 489.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.348e-05/0.1481, 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.000231/0.1483, allocations: 162.6 kB / 489.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.1485, allocations: 35.62 kB / 489.6 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003305/0.1518, allocations: 1.226 MB / 490.8 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.1518, allocations: 4 kB / 490.8 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1518, allocations: 8 kB / 490.9 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.1518, allocations: 3.984 kB / 490.9 MB, free: 8.645 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005782/0.1524, allocations: 0.5598 MB / 491.4 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.1524, allocations: 0 / 491.4 MB, free: 8.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.1526, allocations: 67.84 kB / 491.5 MB, free: 7.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003327/0.156, allocations: 0.7453 MB / 492.2 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.741e-05/0.156, allocations: 11.98 kB / 492.2 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006774/0.1628, allocations: 4.124 MB / 496.4 MB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1629, allocations: 4 kB / 496.4 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003233/0.1661, allocations: 1.234 MB / 497.6 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.1663, allocations: 124.5 kB / 497.7 MB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.371e-05/0.1663, allocations: 11.94 kB / 497.7 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/0.1667, allocations: 27.11 kB / 497.8 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.1669, allocations: 36.33 kB / 497.8 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/0.1669, allocations: 23.98 kB / 497.8 MB, free: 1.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001909/0.1671, allocations: 186 kB / 498 MB, free: 1.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.613e-06/0.1671, allocations: 4 kB / 498 MB, free: 1.266 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006601/0.1678, allocations: 179.9 kB / 498.2 MB, free: 1.09 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.003724/0.1715, allocations: 1.806 MB / 500 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002656/0.1742, allocations: 1.043 MB / 0.4893 GB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.1742, allocations: 4 kB / 0.4893 GB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001805/0.1761, 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.0004516/0.1765, 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.01033/0.1869, allocations: 5.188 MB / 0.4951 GB, free: 8.184 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.1874, allocations: 0.7974 MB / 0.4958 GB, free: 7.363 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001991/0.1876, allocations: 46.92 kB / 0.4959 GB, free: 7.316 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.1878, allocations: 131.3 kB / 0.496 GB, free: 7.188 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1878, allocations: 4 kB / 0.496 GB, free: 7.184 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2437/0.4314, allocations: 15.76 MB / 0.5114 GB, free: 45.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.22, allocations: 12.69 kB / 0.5114 GB, free: 45.61 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)