Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.OneSourceOneLoadWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses") translateModel(PowerSysPro.Examples.OneSourceOneLoadWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009238/0.000924, allocations: 96.86 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009855/0.0009857, allocations: 173.8 kB / 16.62 MB, free: 6.613 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.5/1.5, allocations: 223.3 MB / 240.7 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.229/0.229, allocations: 8.08 MB / 299.8 MB, free: 2.957 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003379, allocations: 8 kB / 362.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1219, allocations: 52.52 MB / 415.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.001612/0.1235, allocations: 0.9033 MB / 416.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.1254, allocations: 1.197 MB / 417.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.1255, allocations: 0 / 417.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.1258, allocations: 55.75 kB / 417.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.126, allocations: 35.77 kB / 417.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007339/0.1268, allocations: 303 kB / 417.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.127, allocations: 111.5 kB / 418 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.1272, allocations: 45.41 kB / 418 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.361e-05/0.1272, allocations: 39.86 kB / 418 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.1274, allocations: 55.7 kB / 418.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.1274, allocations: 4 kB / 418.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.1277, allocations: 103.9 kB / 418.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.612e-05/0.1278, allocations: 15.92 kB / 418.2 MB, free: 5.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.202e-05/0.1278, allocations: 49.64 kB / 418.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.1281, allocations: 151.8 kB / 418.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1282, allocations: 4 kB / 418.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1282, allocations: 0 / 418.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.1282, allocations: 0 / 418.4 MB, free: 5.656 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009739/0.1292, allocations: 447 kB / 418.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1292, allocations: 12.03 kB / 418.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.295e-05/0.1293, allocations: 19.77 kB / 418.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.1296, allocations: 182.9 kB / 419.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.1296, allocations: 11.94 kB / 419.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.1296, allocations: 12 kB / 419.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.1299, allocations: 141.6 kB / 419.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1299, allocations: 3.938 kB / 419.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.13, allocations: 4 kB / 419.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.13, allocations: 4 kB / 419.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.1302, allocations: 107.8 kB / 419.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008138/0.131, allocations: 492.3 kB / 419.8 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.1313, allocations: 102.6 kB / 419.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.197e-05/0.1314, allocations: 24.86 kB / 420 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.1315, allocations: 85.09 kB / 420 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.1316, allocations: 38.56 kB / 420.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.943e-06/0.1316, allocations: 0 / 420.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005757/0.1321, allocations: 227.6 kB / 420.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.1322, allocations: 51.41 kB / 420.3 MB, free: 3.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.1324, allocations: 142 kB / 420.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.1324, allocations: 25.7 kB / 420.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.626e-05/0.1325, allocations: 123.4 kB / 420.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.1325, allocations: 23.64 kB / 420.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.1325, allocations: 4 kB / 420.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1327, allocations: 318.8 kB / 421 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.837e-05/0.1327, allocations: 27.98 kB / 421 MB, free: 2.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.224e-05/0.1328, allocations: 27.98 kB / 421 MB, free: 2.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.072e-05/0.1328, allocations: 32 kB / 421.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1329, allocations: 0 / 421.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002544/0.1331, allocations: 138.5 kB / 421.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.1331, allocations: 6.031 kB / 421.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.1332, allocations: 4.031 kB / 421.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002374/0.1334, allocations: 44.77 kB / 421.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.842e-05/0.1335, allocations: 15.98 kB / 421.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.1348, allocations: 1.311 MB / 422.6 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.1349, allocations: 7.969 kB / 422.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.1349, allocations: 7.984 kB / 422.6 MB, free: 1.086 MB / 350.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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.1351, allocations: 118.4 kB / 422.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.1351, allocations: 11.86 kB / 422.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.1354, allocations: 122.8 kB / 422.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1354, allocations: 0 / 422.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1354, allocations: 4 kB / 422.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1354, allocations: 0 / 422.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002539/0.1357, allocations: 233.5 kB / 423.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1357, allocations: 0 / 423.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.46e-05/0.1357, allocations: 4 kB / 423.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000138/0.1359, allocations: 32.83 kB / 423.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.1359, allocations: 4 kB / 423.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.1372, allocations: 1.315 MB / 424.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1372, allocations: 0 / 424.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.1375, allocations: 204.2 kB / 424.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.1376, allocations: 81.05 kB / 424.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.1376, allocations: 7.984 kB / 424.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.1377, allocations: 8 kB / 424.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.1377, allocations: 16.06 kB / 424.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.1377, allocations: 0 / 424.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001046/0.1379, allocations: 111.3 kB / 424.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1379, allocations: 0 / 424.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000323/0.1382, allocations: 35.91 kB / 424.9 MB, free: 14.55 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002033/0.1384, allocations: 115.1 kB / 425 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004058/0.1388, allocations: 186.9 kB / 425.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1388, allocations: 0 / 425.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.1391, allocations: 147.1 kB / 425.3 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.1394, allocations: 11.95 kB / 425.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007668/0.1402, allocations: 318.2 kB / 425.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.1407, allocations: 0.7083 MB / 426.3 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.29e-05/0.1408, allocations: 4.672 kB / 426.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.1409, allocations: 11.62 kB / 426.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of SimCode: time 1.974e-06/0.1409, allocations: 0 / 426.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of Templates: time 0.006436/0.1473, allocations: 1.409 MB / 427.8 MB, free: 11.58 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1) Environment - environmentSimulation: