Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",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.001097/0.001097, allocations: 107.5 kB / 16.45 MB, free: 6.453 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.001066/0.001066, allocations: 186.4 kB / 17.38 MB, free: 5.668 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.215/1.215, 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.04042/0.04042, allocations: 8.112 MB / 299.3 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 59.91 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08187/0.08299, allocations: 51.52 MB / 465.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.003035/0.08607, allocations: 2.306 MB / 467.8 MB, free: 364 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.08814, allocations: 1.672 MB / 469.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.08827, allocations: 4 kB / 469.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003846/0.08866, allocations: 159.1 kB / 469.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004208/0.08909, allocations: 214.7 kB / 469.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.09098, allocations: 1.221 MB / 471.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004474/0.09144, allocations: 406 kB / 471.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002068/0.09165, allocations: 135.5 kB / 471.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.09181, allocations: 171.3 kB / 471.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.09206, allocations: 211.1 kB / 472 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.806e-05/0.09212, allocations: 32 kB / 472 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003912/0.09252, allocations: 271.8 kB / 472.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.0926, allocations: 83.67 kB / 472.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.09277, allocations: 191 kB / 472.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006129/0.09339, allocations: 0.58 MB / 473.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.0934, allocations: 3.938 kB / 473.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.0934, allocations: 0 / 473.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.09342, allocations: 0 / 473.1 MB, free: 11.01 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.004714/0.09814, allocations: 1.376 MB / 474.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.09819, allocations: 15.89 kB / 474.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.873e-05/0.09827, allocations: 62.72 kB / 474.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.999e-05/0.09838, allocations: 48.7 kB / 474.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.09872, allocations: 319.6 kB / 474.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.09875, allocations: 24.94 kB / 474.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.874e-05/0.09882, allocations: 40.31 kB / 475 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006632/0.09949, allocations: 473 kB / 475.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.09951, allocations: 7.938 kB / 475.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.498e-05/0.09956, allocations: 12 kB / 475.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.09957, allocations: 8 kB / 475.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005671/0.1001, allocations: 426.1 kB / 475.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.1024, allocations: 2.005 MB / 477.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007983/0.1032, allocations: 0.5189 MB / 478.4 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.1035, allocations: 280.8 kB / 478.7 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-05/0.1036, allocations: 7.984 kB / 478.7 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.1036, allocations: 46.5 kB / 478.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.372e-06/0.1036, allocations: 0 / 478.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006499/0.1101, allocations: 1.931 MB / 480.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.1102, allocations: 110.8 kB / 480.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.1104, allocations: 270.9 kB / 481.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.1105, allocations: 41.64 kB / 481.1 MB, free: 2.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.309e-05/0.1106, allocations: 165 kB / 481.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.1107, allocations: 154.6 kB / 481.4 MB, free: 2.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.1109, allocations: 110.2 kB / 481.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.111, allocations: 346.8 kB / 481.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.1114, allocations: 293 kB / 482.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004348/0.1119, allocations: 348.6 kB / 482.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008567/0.1127, allocations: 0.649 MB / 483.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1127, allocations: 0 / 483.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003123/0.1159, allocations: 1.26 MB / 484.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1159, allocations: 10.44 kB / 484.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1159, allocations: 0 / 484.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003285/0.1192, allocations: 0.7841 MB / 485.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.1195, allocations: 87.88 kB / 485.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006778/0.1263, allocations: 4.163 MB / 489.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003954/0.1267, allocations: 55.61 kB / 489.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/0.1268, allocations: 20 kB / 489.5 MB, free: 10.02 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.0001849/0.127, allocations: 165.7 kB / 489.7 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.899e-05/0.1271, allocations: 31.81 kB / 489.7 MB, free: 9.812 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003146/0.1302, allocations: 1.214 MB / 490.9 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1302, allocations: 8 kB / 490.9 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.1303, allocations: 0 / 490.9 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1303, allocations: 0 / 490.9 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005086/0.1308, allocations: 0.5638 MB / 491.5 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1308, allocations: 0 / 491.5 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/0.131, allocations: 63.91 kB / 491.5 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003258/0.1343, allocations: 0.7536 MB / 492.3 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.1343, allocations: 12 kB / 492.3 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00649/0.1408, allocations: 4.131 MB / 496.4 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1408, allocations: 0 / 496.4 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003056/0.1439, allocations: 1.226 MB / 497.7 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.144, allocations: 124.7 kB / 497.8 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/0.1441, allocations: 8 kB / 497.8 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/0.1445, allocations: 34.78 kB / 497.8 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.804e-05/0.1446, allocations: 36.33 kB / 497.9 MB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.1446, allocations: 16 kB / 497.9 MB, free: 1.383 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001844/0.1448, allocations: 190 kB / 498.1 MB, free: 1.199 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1448, allocations: 0 / 498.1 MB, free: 1.199 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005751/0.1454, allocations: 179.9 kB / 498.2 MB, free: 1.023 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.003313/0.1487, allocations: 1.794 MB / 0.4883 GB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002327/0.1511, allocations: 1.047 MB / 0.4893 GB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1511, allocations: 4 kB / 0.4893 GB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00166/0.1527, allocations: 0.6843 MB / 0.49 GB, free: 13.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.1531, allocations: 36.33 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.009157/0.1623, allocations: 5.218 MB / 0.4951 GB, free: 8.102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.1626, allocations: 0.7974 MB / 0.4959 GB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001719/0.1628, allocations: 58.86 kB / 0.496 GB, free: 7.223 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.163, allocations: 127.4 kB / 0.4961 GB, free: 7.098 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.163, allocations: 0 / 0.4961 GB, free: 7.098 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2013/0.3643, allocations: 15.21 MB / 0.511 GB, free: 45.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.11, allocations: 3.875 kB / 0.511 GB, free: 45.97 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1)