Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",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.001551/0.001551, allocations: 103.2 kB / 16.45 MB, free: 6.43 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.001745/0.001745, allocations: 189.5 kB / 17.39 MB, free: 5.676 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.31/1.31, 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.04761/0.04761, allocations: 8.104 MB / 299.3 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.91 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09597/0.09715, allocations: 51.52 MB / 465.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3): time 0.004002/0.1012, allocations: 2.902 MB / 468.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.1036, allocations: 1.652 MB / 470.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.1037, allocations: 15.88 kB / 470.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004395/0.1042, allocations: 186.9 kB / 470.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004992/0.1047, allocations: 230.5 kB / 470.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.1067, allocations: 1.241 MB / 471.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005239/0.1073, allocations: 0.5016 MB / 472.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002816/0.1076, allocations: 212.9 kB / 472.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.1077, allocations: 207.3 kB / 472.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.108, allocations: 258.9 kB / 472.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.256e-05/0.1081, allocations: 40 kB / 472.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000424/0.1085, allocations: 279.7 kB / 473.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.436e-05/0.1086, allocations: 111.5 kB / 473.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002144/0.1088, allocations: 246.8 kB / 473.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00071/0.1096, allocations: 0.6863 MB / 474.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1096, allocations: 0 / 474.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1096, allocations: 0 / 474.2 MB, free: 9.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1096, allocations: 4 kB / 474.2 MB, free: 9.895 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.004874/0.1145, allocations: 1.447 MB / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1145, allocations: 11.89 kB / 475.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.481e-05/0.1146, allocations: 78.66 kB / 475.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.1147, allocations: 52.38 kB / 475.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.1152, allocations: 351.3 kB / 476.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.1152, allocations: 37.36 kB / 476.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.491e-05/0.1153, allocations: 48.38 kB / 476.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000804/0.1161, allocations: 0.5697 MB / 476.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1161, allocations: 3.938 kB / 476.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/0.1162, allocations: 16 kB / 476.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.1162, allocations: 12 kB / 476.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006662/0.1168, allocations: 475.8 kB / 477.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002686/0.1195, allocations: 2.183 MB / 479.5 MB, free: 4.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008692/0.1204, allocations: 0.6385 MB / 480.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/0.1208, allocations: 264.8 kB / 480.4 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.052e-05/0.1208, allocations: 11.97 kB / 480.4 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.1209, allocations: 42.56 kB / 480.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.814e-06/0.1209, allocations: 0 / 480.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006538/0.1274, allocations: 1.83 MB / 482.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.1275, allocations: 110.8 kB / 482.4 MB, free: 1.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.1278, allocations: 278.8 kB / 482.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.1278, allocations: 37.64 kB / 482.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.128, allocations: 201.1 kB / 482.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.1281, allocations: 153.8 kB / 483 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.1283, allocations: 110.2 kB / 483.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1284, allocations: 338.8 kB / 483.5 MB, free: 164 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003962/0.1288, allocations: 273 kB / 483.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004182/0.1292, allocations: 324.6 kB / 484.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008311/0.1301, allocations: 0.5983 MB / 484.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1301, allocations: 0 / 484.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003222/0.1333, allocations: 1.217 MB / 485.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1333, allocations: 4 kB / 485.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1333, allocations: 0 / 485.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003395/0.1367, allocations: 0.7695 MB / 486.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.1371, allocations: 83.89 kB / 486.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006691/0.1438, allocations: 3.9 MB / 490.6 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.1442, allocations: 47.44 kB / 490.7 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.1442, allocations: 19.98 kB / 490.7 MB, free: 8.785 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.0002265/0.1445, allocations: 173.8 kB / 490.9 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.253e-05/0.1446, allocations: 39.5 kB / 490.9 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003346/0.1479, allocations: 1.16 MB / 492.1 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1479, allocations: 11.88 kB / 492.1 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.1479, allocations: 7.938 kB / 492.1 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.148, allocations: 3.984 kB / 492.1 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003824/0.1518, allocations: 1.744 MB / 493.8 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1518, allocations: 0 / 493.8 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.152, allocations: 59.91 kB / 493.9 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003376/0.1554, allocations: 0.746 MB / 494.6 MB, free: 4.754 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.1554, allocations: 11.94 kB / 494.7 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006439/0.1619, allocations: 3.846 MB / 498.5 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1619, allocations: 0 / 498.5 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003259/0.1652, allocations: 1.168 MB / 499.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.1653, allocations: 116.5 kB / 499.8 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.181e-05/0.1654, allocations: 15.98 kB / 499.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/0.1658, allocations: 30.66 kB / 499.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.513e-05/0.1659, allocations: 32.39 kB / 499.9 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.1659, allocations: 16 kB / 499.9 MB, free: 15.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002179/0.1661, allocations: 190 kB / 0.4883 GB, free: 15.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1661, allocations: 0 / 0.4883 GB, free: 15.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000804/0.1669, allocations: 199.7 kB / 0.4885 GB, free: 14.97 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 (34): * Single equations (assignments): 33 * 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.003579/0.1705, allocations: 1.74 MB / 0.4902 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002345/0.1729, allocations: 0.9998 MB / 0.4912 GB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1729, allocations: 0 / 0.4912 GB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001596/0.1745, allocations: 0.6414 MB / 0.4918 GB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.1749, allocations: 47.39 kB / 0.4919 GB, free: 11.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009442/0.1844, allocations: 5.071 MB / 0.4968 GB, free: 6.324 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.1848, allocations: 0.8207 MB / 0.4976 GB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001702/0.185, allocations: 50.92 kB / 0.4977 GB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.1852, allocations: 147.4 kB / 0.4978 GB, free: 5.281 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1852, allocations: 4 kB / 0.4978 GB, free: 5.277 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2465/0.4317, allocations: 15.26 MB / 0.5127 GB, free: 44.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.46, allocations: 5.156 kB / 0.5127 GB, free: 44.93 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe 2>&1)