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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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: translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 105.4 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.00111/0.00111, allocations: 192.2 kB / 17.39 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.321/1.321, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04999/0.04999, allocations: 8.094 MB / 299.3 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 71.89 kB / 414.5 MB, free: 21.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09912/0.1003, allocations: 51.5 MB / 466 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.003847/0.1042, allocations: 2.844 MB / 468.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002542/0.1067, allocations: 1.648 MB / 470.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.1069, allocations: 8 kB / 470.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004651/0.1074, allocations: 179 kB / 470.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000503/0.1079, allocations: 230.5 kB / 470.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.11, allocations: 1.252 MB / 472.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006247/0.1107, allocations: 493.6 kB / 472.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002752/0.1109, allocations: 173 kB / 472.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.1111, allocations: 199.3 kB / 473 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003246/0.1115, allocations: 270.9 kB / 473.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.257e-05/0.1115, allocations: 40 kB / 473.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005031/0.112, allocations: 275.8 kB / 473.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.029e-05/0.1121, allocations: 99.61 kB / 473.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.1124, allocations: 242.8 kB / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007363/0.1131, allocations: 0.6771 MB / 474.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1131, allocations: 4 kB / 474.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1131, allocations: 0 / 474.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1131, allocations: 0 / 474.6 MB, free: 9.52 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.005366/0.1185, allocations: 1.524 MB / 476.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.1186, allocations: 8.031 kB / 476.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.1187, allocations: 56.61 kB / 476.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.1191, allocations: 339.6 kB / 476.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.1191, allocations: 33.38 kB / 476.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.521e-05/0.1192, allocations: 52.23 kB / 476.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008407/0.12, allocations: 0.5815 MB / 477.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1201, allocations: 4.188 kB / 477.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.1201, allocations: 19.94 kB / 477.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.1201, allocations: 8 kB / 477.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000759/0.1209, allocations: 0.5271 MB / 477.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002723/0.1236, allocations: 2.273 MB / 480 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.1248, allocations: 0.8414 MB / 480.8 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004398/0.1252, allocations: 326.1 kB / 481.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.518e-05/0.1253, allocations: 12.41 kB / 481.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.1253, allocations: 46.88 kB / 481.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 1.864e-06/0.1253, allocations: 0 / 481.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.006963/0.1323, allocations: 2.038 MB / 483.2 MB, free: 428 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.1325, allocations: 107.2 kB / 483.4 MB, free: 296 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000381/0.1329, allocations: 275 kB / 483.6 MB, free: 8 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.315e-05/0.133, allocations: 41.7 kB / 483.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.1331, allocations: 185.6 kB / 483.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.1333, allocations: 194.3 kB / 484 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.1335, allocations: 118.3 kB / 484.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.1337, allocations: 346.8 kB / 484.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.1342, allocations: 321.2 kB / 484.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005666/0.1348, allocations: 381.7 kB / 485.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.1358, allocations: 0.7211 MB / 485.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.1358, allocations: 3.984 kB / 485.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00339/0.1392, allocations: 1.344 MB / 487.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.1392, allocations: 4 kB / 487.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.1393, allocations: 0 / 487.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003477/0.1427, allocations: 0.7882 MB / 488 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/0.1432, allocations: 103.9 kB / 488.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007274/0.1505, allocations: 4.188 MB / 492.3 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005146/0.151, allocations: 59.52 kB / 492.4 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.561e-05/0.1511, allocations: 27.97 kB / 492.4 MB, free: 7.035 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.0002631/0.1513, allocations: 165.8 kB / 492.6 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.58e-05/0.1514, allocations: 43.7 kB / 492.6 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003503/0.155, allocations: 1.311 MB / 493.9 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.155, allocations: 8 kB / 493.9 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.155, allocations: 8 kB / 493.9 MB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.155, allocations: 3.984 kB / 493.9 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004036/0.159, allocations: 1.981 MB / 495.9 MB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.1591, allocations: 7.938 kB / 495.9 MB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.1594, allocations: 71.91 kB / 496 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003284/0.1626, allocations: 0.7422 MB / 496.7 MB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.1627, allocations: 12 kB / 496.8 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007179/0.1699, allocations: 4.129 MB / 0.4891 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1699, allocations: 0 / 0.4891 GB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003392/0.1733, allocations: 1.312 MB / 0.4904 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.1735, allocations: 128.7 kB / 0.4906 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.11e-05/0.1736, allocations: 12 kB / 0.4906 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.174, allocations: 23.98 kB / 0.4906 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.1741, allocations: 44.48 kB / 0.4906 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/0.1742, allocations: 24 kB / 0.4907 GB, free: 12.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002296/0.1744, allocations: 186 kB / 0.4908 GB, free: 12.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1744, allocations: 0 / 0.4908 GB, free: 12.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007432/0.1752, allocations: 203.8 kB / 0.491 GB, free: 12.37 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.0002279/0.1754, allocations: 131.1 kB / 0.4911 GB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002609/0.178, allocations: 1.123 MB / 0.4922 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.178, allocations: 0 / 0.4922 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001801/0.1799, allocations: 0.7279 MB / 0.493 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.1803, allocations: 40.89 kB / 0.493 GB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.1819, allocations: 0.874 MB / 0.4938 GB, free: 9.422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.1823, allocations: 0.8218 MB / 0.4947 GB, free: 8.574 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002229/0.1825, allocations: 67.2 kB / 0.4947 GB, free: 8.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.1827, allocations: 35.44 kB / 0.4947 GB, free: 8.477 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1827, allocations: 0 / 0.4947 GB, free: 8.477 MB / 382.1 MB Notification: Performance of Templates: time 0.2413/0.4239, allocations: 12.23 MB / 0.5067 GB, free: 45.35 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.makefile (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 & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe 2>&1)