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.001783/0.001783, allocations: 107.6 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.001969/0.001969, allocations: 188.9 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.416/1.416, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05051/0.05051, allocations: 8.105 MB / 299.3 MB, free: 6.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 67.91 kB / 414 MB, free: 22.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09154/0.0934, allocations: 51.52 MB / 465.5 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3): time 0.004397/0.09786, allocations: 2.891 MB / 468.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002519/0.1004, allocations: 1.664 MB / 470.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.1006, allocations: 12 kB / 470.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004593/0.1011, allocations: 190.8 kB / 470.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005339/0.1016, allocations: 230.5 kB / 470.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002331/0.104, allocations: 1.245 MB / 471.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000685/0.1047, allocations: 0.4977 MB / 472.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003329/0.105, allocations: 218 kB / 472.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002311/0.1052, allocations: 207.2 kB / 472.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000352/0.1056, allocations: 258.9 kB / 472.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.921e-05/0.1057, allocations: 44 kB / 472.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005532/0.1062, allocations: 279.8 kB / 473.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.1064, allocations: 111.5 kB / 473.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002528/0.1066, allocations: 246.8 kB / 473.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008993/0.1075, allocations: 0.6927 MB / 474.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1075, allocations: 0 / 474.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1076, allocations: 0 / 474.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1076, allocations: 0 / 474.3 MB, free: 9.902 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.005283/0.1129, allocations: 1.454 MB / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.1129, allocations: 11.89 kB / 475.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000163/0.1131, allocations: 82.7 kB / 475.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.1132, allocations: 60.61 kB / 475.9 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004669/0.1137, allocations: 351.5 kB / 476.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.1137, allocations: 29.38 kB / 476.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.258e-05/0.1138, allocations: 48.38 kB / 476.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009244/0.1147, allocations: 0.562 MB / 476.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.1148, allocations: 11.86 kB / 476.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.12e-05/0.1148, allocations: 16 kB / 476.9 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.1149, allocations: 12 kB / 476.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007689/0.1156, allocations: 475.8 kB / 477.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003131/0.1188, allocations: 2.191 MB / 479.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.1198, allocations: 0.6346 MB / 480.2 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003952/0.1202, allocations: 272.8 kB / 480.4 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.032e-05/0.1203, allocations: 11.97 kB / 480.4 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.1203, allocations: 42.5 kB / 480.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.234e-06/0.1203, allocations: 0 / 480.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.007192/0.1275, allocations: 1.83 MB / 482.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.763e-05/0.1277, allocations: 110.8 kB / 482.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003441/0.128, allocations: 274.9 kB / 482.7 MB, free: 1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.25e-05/0.1281, allocations: 41.64 kB / 482.7 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.1282, allocations: 205.4 kB / 482.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.1284, allocations: 158.6 kB / 483.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.1286, allocations: 106.2 kB / 483.2 MB, free: 492 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1287, allocations: 338.8 kB / 483.5 MB, free: 144 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/0.1292, allocations: 273.1 kB / 483.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/0.1297, allocations: 328.6 kB / 484.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000962/0.1307, allocations: 0.5982 MB / 484.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1307, allocations: 0 / 484.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003536/0.1342, allocations: 1.21 MB / 485.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.1343, allocations: 4 kB / 485.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1343, allocations: 0 / 485.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003739/0.138, allocations: 0.7734 MB / 486.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.1384, allocations: 83.89 kB / 486.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007706/0.1461, allocations: 3.9 MB / 490.7 MB, free: 8.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004429/0.1466, allocations: 55.55 kB / 490.7 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.187e-05/0.1467, allocations: 27.92 kB / 490.8 MB, free: 8.75 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.0002434/0.1469, allocations: 169.8 kB / 490.9 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.028e-05/0.147, allocations: 35.75 kB / 491 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003518/0.1505, allocations: 1.156 MB / 492.1 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.1506, allocations: 7.938 kB / 492.1 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1506, allocations: 7.875 kB / 492.1 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.1506, allocations: 3.984 kB / 492.1 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004086/0.1547, allocations: 1.759 MB / 493.9 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.1547, allocations: 0 / 493.9 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.1549, allocations: 59.91 kB / 494 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003551/0.1585, allocations: 0.7343 MB / 494.7 MB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.978e-05/0.1586, allocations: 23.92 kB / 494.7 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007176/0.1658, allocations: 3.832 MB / 498.5 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1658, allocations: 0 / 498.5 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003372/0.1692, allocations: 1.18 MB / 499.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.1693, allocations: 116.8 kB / 499.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.069e-05/0.1694, allocations: 4 kB / 499.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.1698, allocations: 38.36 kB / 499.9 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.1699, allocations: 36.38 kB / 499.9 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/0.1699, allocations: 16 kB / 499.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002299/0.1702, allocations: 190 kB / 0.4884 GB, free: 15.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.677e-06/0.1702, allocations: 0 / 0.4884 GB, free: 15.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006552/0.1709, allocations: 203.7 kB / 0.4886 GB, free: 14.93 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.003776/0.1746, allocations: 1.747 MB / 0.4903 GB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002613/0.1773, allocations: 0.9959 MB / 0.4913 GB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.1773, allocations: 0 / 0.4913 GB, free: 12.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001817/0.1791, allocations: 0.653 MB / 0.4919 GB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.1796, allocations: 35.47 kB / 0.4919 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.19, allocations: 5.097 MB / 0.4969 GB, free: 6.258 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/0.1905, allocations: 0.8168 MB / 0.4977 GB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001998/0.1907, allocations: 54.92 kB / 0.4978 GB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.191, allocations: 143.4 kB / 0.4979 GB, free: 5.219 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.191, allocations: 0 / 0.4979 GB, free: 5.219 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2334/0.4244, allocations: 14.73 MB / 0.5123 GB, free: 45.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.39, allocations: 1.938 kB / 0.5123 GB, free: 45.18 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)