Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors",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.00146/0.00146, allocations: 108.8 kB / 16.45 MB, free: 6.391 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.001616/0.001615, allocations: 188.4 kB / 17.38 MB, free: 5.648 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.285/1.285, 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.04678/0.04678, allocations: 8.094 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 55.91 kB / 414 MB, free: 22.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08718/0.08836, allocations: 51.52 MB / 465.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.003389/0.09178, allocations: 2.832 MB / 468.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.09404, allocations: 1.652 MB / 470 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.09421, allocations: 8 kB / 470 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004478/0.09469, allocations: 175 kB / 470.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004875/0.09518, allocations: 238.4 kB / 470.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.09714, allocations: 1.256 MB / 471.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005051/0.09765, allocations: 493.6 kB / 472.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.09791, allocations: 177 kB / 472.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.0981, allocations: 195.3 kB / 472.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003068/0.09842, allocations: 282.8 kB / 472.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.759e-05/0.09848, allocations: 36 kB / 472.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004251/0.09891, allocations: 279.7 kB / 473.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.37e-05/0.099, allocations: 95.67 kB / 473.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.09919, allocations: 234.8 kB / 473.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006701/0.09986, allocations: 0.6811 MB / 474.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.09988, allocations: 0 / 474.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.09988, allocations: 0 / 474.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.0999, allocations: 0 / 474.1 MB, free: 10.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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.005332/0.1052, allocations: 1.528 MB / 475.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1053, allocations: 11.89 kB / 475.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.1054, allocations: 74.72 kB / 475.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.1055, allocations: 56.61 kB / 475.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.1059, allocations: 355.5 kB / 476.1 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.106, allocations: 33.38 kB / 476.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.21e-05/0.106, allocations: 44.38 kB / 476.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008517/0.1069, allocations: 0.5698 MB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1069, allocations: 7.938 kB / 476.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.954e-05/0.107, allocations: 16 kB / 476.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.107, allocations: 8 kB / 476.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000755/0.1078, allocations: 0.531 MB / 477.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002794/0.1106, allocations: 2.269 MB / 479.6 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.1116, allocations: 0.8492 MB / 480.4 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/0.1121, allocations: 326.1 kB / 480.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.599e-05/0.1121, allocations: 12.42 kB / 480.8 MB, free: 2.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.1122, allocations: 42.94 kB / 480.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 1.563e-06/0.1122, allocations: 0 / 480.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.006692/0.1189, allocations: 2.034 MB / 482.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.119, allocations: 111.2 kB / 482.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.1192, allocations: 275 kB / 483.2 MB, free: 428 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.399e-05/0.1193, allocations: 37.7 kB / 483.3 MB, free: 384 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.1194, allocations: 189.5 kB / 483.4 MB, free: 188 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.1196, allocations: 190.4 kB / 483.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.1198, allocations: 118.3 kB / 483.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1199, allocations: 346.8 kB / 484.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004566/0.1203, allocations: 325.2 kB / 484.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004907/0.1208, allocations: 385.6 kB / 484.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009545/0.1218, allocations: 0.7134 MB / 485.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1218, allocations: 0 / 485.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003316/0.1251, allocations: 1.341 MB / 486.8 MB, free: 12.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.1252, allocations: 11.94 kB / 486.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1252, allocations: 0 / 486.8 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00336/0.1285, allocations: 0.7882 MB / 487.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/0.129, allocations: 107.8 kB / 487.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006792/0.1358, allocations: 4.167 MB / 491.9 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/0.1362, allocations: 63.5 kB / 492 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.194e-05/0.1363, allocations: 19.98 kB / 492 MB, free: 7.461 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 (61): * Single equations (assignments): 60 * 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.0002168/0.1365, allocations: 173.7 kB / 492.1 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.948e-05/0.1366, allocations: 35.77 kB / 492.2 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003302/0.1399, allocations: 1.315 MB / 493.5 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.1399, allocations: 8 kB / 493.5 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.1399, allocations: 0 / 493.5 MB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1399, allocations: 7.984 kB / 493.5 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003919/0.1439, allocations: 1.989 MB / 495.5 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1439, allocations: 0 / 495.5 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.1442, allocations: 71.91 kB / 495.6 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003178/0.1473, allocations: 0.7524 MB / 496.3 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.547e-05/0.1474, allocations: 16 kB / 496.3 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00654/0.154, allocations: 4.127 MB / 0.4887 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.154, allocations: 3.938 kB / 0.4887 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003166/0.1571, allocations: 1.316 MB / 0.49 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.1573, allocations: 120.7 kB / 0.4901 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.136e-05/0.1573, allocations: 12 kB / 0.4902 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.1577, allocations: 29.86 kB / 0.4902 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.1579, allocations: 44.44 kB / 0.4902 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.372e-05/0.1579, allocations: 23.98 kB / 0.4902 GB, free: 13.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001875/0.1581, allocations: 190 kB / 0.4904 GB, free: 12.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1581, allocations: 0 / 0.4904 GB, free: 12.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006321/0.1587, allocations: 207.8 kB / 0.4906 GB, free: 12.79 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 (45): * Single equations (assignments): 44 * 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.003463/0.1622, allocations: 1.876 MB / 0.4925 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002485/0.1647, allocations: 1.135 MB / 0.4936 GB, free: 9.734 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.1647, allocations: 0 / 0.4936 GB, free: 9.734 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001699/0.1664, allocations: 0.7163 MB / 0.4943 GB, free: 9.004 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.1669, allocations: 47.88 kB / 0.4943 GB, free: 8.961 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009725/0.1766, allocations: 5.515 MB / 0.4997 GB, free: 3.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.177, allocations: 0.8218 MB / 0.5005 GB, free: 2.516 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002198/0.1772, allocations: 59.23 kB / 0.5006 GB, free: 2.453 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.1774, allocations: 147.4 kB / 0.5007 GB, free: 2.309 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1774, allocations: 0 / 0.5007 GB, free: 2.309 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2348/0.4122, allocations: 15.99 MB / 0.5163 GB, free: 43.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.13, allocations: 4.375 kB / 0.5163 GB, free: 43.2 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors_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_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe 2>&1)