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.001195/0.001195, allocations: 113.3 kB / 16.46 MB, free: 6.449 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.001242/0.001243, allocations: 189.5 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.406/1.406, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05031/0.05031, allocations: 8.101 MB / 299.3 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 55.91 kB / 414.5 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1276, allocations: 51.52 MB / 466 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.003688/0.1314, allocations: 2.832 MB / 468.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.1336, allocations: 1.656 MB / 470.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.1337, allocations: 8 kB / 470.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004019/0.1341, allocations: 179 kB / 470.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004687/0.1346, allocations: 238.4 kB / 470.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.1367, allocations: 1.252 MB / 472.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005321/0.1372, allocations: 485.6 kB / 472.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002494/0.1375, allocations: 184.9 kB / 472.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.1376, allocations: 195.3 kB / 473 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.1379, allocations: 270.9 kB / 473.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.393e-05/0.138, allocations: 40 kB / 473.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004227/0.1384, allocations: 275.8 kB / 473.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.508e-05/0.1385, allocations: 99.59 kB / 473.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.1387, allocations: 242.8 kB / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007173/0.1394, allocations: 0.6698 MB / 474.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1395, allocations: 4 kB / 474.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1395, allocations: 0 / 474.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.1395, allocations: 0 / 474.6 MB, free: 9.527 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.005508/0.145, allocations: 1.508 MB / 476.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.145, allocations: 12.03 kB / 476.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.1452, allocations: 56.36 kB / 476.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.1456, allocations: 351.4 kB / 476.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.1456, allocations: 29.38 kB / 476.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.941e-05/0.1457, allocations: 44.38 kB / 476.6 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008788/0.1466, allocations: 0.5776 MB / 477.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1466, allocations: 4.125 kB / 477.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.337e-05/0.1467, allocations: 19.94 kB / 477.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.1467, allocations: 12 kB / 477.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007463/0.1475, allocations: 0.531 MB / 477.7 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002886/0.1503, allocations: 2.261 MB / 480 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.1515, allocations: 0.8454 MB / 480.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004532/0.1519, allocations: 326.1 kB / 481.1 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.106e-05/0.152, allocations: 12.42 kB / 481.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.1521, allocations: 54.86 kB / 481.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 1.743e-06/0.1521, allocations: 0 / 481.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.007028/0.1591, allocations: 2.026 MB / 483.2 MB, free: 460 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.1592, allocations: 107.2 kB / 483.3 MB, free: 328 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.1595, allocations: 278.9 kB / 483.6 MB, free: 36 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.061e-05/0.1596, allocations: 37.75 kB / 483.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.1597, allocations: 189.3 kB / 483.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.1598, allocations: 181.3 kB / 484 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.16, allocations: 118.3 kB / 484.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1601, allocations: 342.8 kB / 484.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004645/0.1606, allocations: 325.2 kB / 484.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005091/0.1611, allocations: 377.7 kB / 485.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.1621, allocations: 0.7172 MB / 485.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1622, allocations: 4.031 kB / 485.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003423/0.1656, allocations: 1.34 MB / 487.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.1656, allocations: 8 kB / 487.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1656, allocations: 0 / 487.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003538/0.1692, allocations: 0.7806 MB / 488 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/0.1696, allocations: 103.9 kB / 488.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007371/0.177, allocations: 4.188 MB / 492.3 MB, free: 7.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.1775, allocations: 55.44 kB / 492.3 MB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.1775, allocations: 23.98 kB / 492.3 MB, free: 7.094 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.0002338/0.1778, allocations: 161.8 kB / 492.5 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.249e-05/0.1779, allocations: 43.56 kB / 492.6 MB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003608/0.1815, allocations: 1.319 MB / 493.9 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.1815, allocations: 8 kB / 493.9 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.1815, allocations: 0 / 493.9 MB, free: 5.547 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.1815, allocations: 3.984 kB / 493.9 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004142/0.1857, allocations: 1.977 MB / 495.9 MB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.1857, allocations: 3.938 kB / 495.9 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.186, allocations: 83.89 kB / 495.9 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003424/0.1894, allocations: 0.7451 MB / 496.7 MB, free: 2.672 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/0.1895, allocations: 12 kB / 496.7 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00699/0.1965, allocations: 4.127 MB / 0.4891 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1965, allocations: 0 / 0.4891 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003349/0.1998, allocations: 1.316 MB / 0.4904 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.2, allocations: 116.5 kB / 0.4905 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.486e-05/0.2001, allocations: 12 kB / 0.4905 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004054/0.2005, allocations: 31.09 kB / 0.4905 GB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.2006, allocations: 40.52 kB / 0.4906 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.395e-05/0.2006, allocations: 19.98 kB / 0.4906 GB, free: 12.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001952/0.2008, allocations: 190 kB / 0.4908 GB, free: 12.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.2009, allocations: 4 kB / 0.4908 GB, free: 12.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006694/0.2015, allocations: 199.8 kB / 0.491 GB, free: 12.44 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.0002385/0.2018, allocations: 131.1 kB / 0.4911 GB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0027/0.2045, allocations: 1.127 MB / 0.4922 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.2045, allocations: 3.938 kB / 0.4922 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001868/0.2064, allocations: 0.7201 MB / 0.4929 GB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.2068, allocations: 44.88 kB / 0.4929 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.2084, allocations: 0.8511 MB / 0.4938 GB, free: 9.508 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.2088, allocations: 0.8296 MB / 0.4946 GB, free: 8.652 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000209/0.209, allocations: 51.23 kB / 0.4946 GB, free: 8.605 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.2091, allocations: 39.42 kB / 0.4947 GB, free: 8.566 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2091, allocations: 8 kB / 0.4947 GB, free: 8.559 MB / 382.1 MB Notification: Performance of Templates: time 0.2617/0.4708, allocations: 12.24 MB / 0.5066 GB, free: 45.37 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)