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.001381/0.00138, allocations: 105 kB / 16.45 MB, free: 5.965 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.001368/0.001368, allocations: 195.9 kB / 17.39 MB, free: 5.531 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.407/1.407, allocations: 222.9 MB / 241.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05193/0.05193, allocations: 8.099 MB / 299.3 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 67.88 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09488/0.09673, allocations: 51.51 MB / 465.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.003781/0.1005, allocations: 2.313 MB / 467.8 MB, free: 372 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.1032, allocations: 1.668 MB / 469.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.1033, allocations: 4 kB / 469.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004777/0.1039, allocations: 163 kB / 469.6 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005141/0.1044, allocations: 206.7 kB / 469.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.1066, allocations: 1.213 MB / 471.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005372/0.1072, allocations: 417.9 kB / 471.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002448/0.1074, allocations: 143.4 kB / 471.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.1076, allocations: 167.3 kB / 471.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.1079, allocations: 211.1 kB / 472 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.812e-05/0.108, allocations: 28 kB / 472 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004945/0.1085, allocations: 267.8 kB / 472.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.877e-05/0.1086, allocations: 79.69 kB / 472.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.1088, allocations: 203 kB / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007319/0.1095, allocations: 0.5761 MB / 473.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.1096, allocations: 3.984 kB / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1096, allocations: 0 / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1096, 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.005174/0.1148, allocations: 1.372 MB / 474.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/0.1148, allocations: 11.89 kB / 474.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.1149, allocations: 70.72 kB / 474.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.1151, allocations: 40.7 kB / 474.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/0.1156, allocations: 331.6 kB / 474.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.1156, allocations: 24.94 kB / 475 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.868e-05/0.1157, allocations: 32.38 kB / 475 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008281/0.1165, allocations: 472.9 kB / 475.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.1166, allocations: 7.938 kB / 475.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.394e-05/0.1166, allocations: 12 kB / 475.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.1166, allocations: 12 kB / 475.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007082/0.1174, allocations: 418.1 kB / 475.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/0.1202, allocations: 2.013 MB / 477.9 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009527/0.1212, allocations: 0.5102 MB / 478.4 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004212/0.1216, allocations: 280.8 kB / 478.7 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.476e-05/0.1217, allocations: 15.97 kB / 478.7 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.1218, allocations: 38.56 kB / 478.7 MB, free: 5.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.784e-06/0.1218, allocations: 7.938 kB / 478.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.00705/0.1288, allocations: 1.873 MB / 480.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.281e-05/0.1289, allocations: 110.8 kB / 480.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.1293, allocations: 270.9 kB / 481 MB, free: 2.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.605e-05/0.1294, allocations: 37.7 kB / 481 MB, free: 2.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.1295, allocations: 173 kB / 481.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.1297, allocations: 154.6 kB / 481.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.1299, allocations: 102.2 kB / 481.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.13, allocations: 342.8 kB / 481.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004724/0.1305, allocations: 297 kB / 482.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005348/0.1311, allocations: 344.6 kB / 482.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.1321, allocations: 0.649 MB / 483.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1321, allocations: 4.031 kB / 483.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003627/0.1358, allocations: 1.268 MB / 484.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.1358, allocations: 7.938 kB / 484.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1358, allocations: 4 kB / 484.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003768/0.1396, allocations: 0.7773 MB / 485.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.14, allocations: 91.89 kB / 485.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008365/0.1484, allocations: 4.177 MB / 489.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005181/0.149, allocations: 59.61 kB / 489.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.325e-05/0.149, allocations: 19.98 kB / 489.5 MB, free: 10.07 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.0002629/0.1493, allocations: 166.6 kB / 489.6 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.134e-05/0.1494, allocations: 31.81 kB / 489.7 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003655/0.1531, allocations: 1.23 MB / 490.9 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.1531, allocations: 8 kB / 490.9 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.1531, allocations: 0 / 490.9 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.1531, allocations: 3.984 kB / 490.9 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007237/0.1539, allocations: 0.5561 MB / 491.5 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1539, allocations: 4 kB / 491.5 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.1541, allocations: 59.91 kB / 491.5 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003547/0.1577, allocations: 0.7499 MB / 492.3 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.963e-05/0.1577, allocations: 8 kB / 492.3 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007858/0.1656, allocations: 4.144 MB / 496.4 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1656, allocations: 0 / 496.4 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003593/0.1692, allocations: 1.234 MB / 497.7 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.1694, allocations: 120.8 kB / 497.8 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.715e-05/0.1695, allocations: 15.92 kB / 497.8 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.1699, allocations: 23.98 kB / 497.8 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.17, allocations: 40.33 kB / 497.9 MB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.482e-05/0.17, allocations: 19.94 kB / 497.9 MB, free: 1.402 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002268/0.1703, allocations: 197.9 kB / 498.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1703, allocations: 0 / 498.1 MB, free: 1.211 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006507/0.1709, allocations: 180 kB / 498.2 MB, free: 1.035 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.003942/0.1749, allocations: 1.802 MB / 0.4883 GB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002667/0.1776, allocations: 1.043 MB / 0.4893 GB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1776, allocations: 0 / 0.4893 GB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001883/0.1795, allocations: 0.6882 MB / 0.49 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.18, allocations: 32.89 kB / 0.49 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.1907, allocations: 5.206 MB / 0.4951 GB, free: 8.121 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.1912, allocations: 0.7974 MB / 0.4959 GB, free: 7.301 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002085/0.1914, allocations: 50.92 kB / 0.496 GB, free: 7.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.1916, allocations: 127.3 kB / 0.4961 GB, free: 7.125 MB / 382.1 MB Notification: Performance of SimCode: time 2.905e-06/0.1916, allocations: 0 / 0.4961 GB, free: 7.125 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2402/0.4319, allocations: 15.23 MB / 0.511 GB, free: 46.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.35, allocations: 12 kB / 0.511 GB, free: 46.45 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)