Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 84.22 kB / 20.98 MB, free: 3.566 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 165 kB / 24.29 MB, free: 272 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.048/1.048, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02621/0.02621, allocations: 4.491 MB / 265.6 MB, free: 8.594 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 336.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.357e-05, allocations: 8.641 kB / 336.5 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.001469/0.001493, allocations: 1.182 MB / 337.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.002771, allocations: 1.52 MB / 339.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.19e-05/0.002843, allocations: 0 / 339.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.003146, allocations: 111.2 kB / 339.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.003325, allocations: 75.53 kB / 339.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008002/0.004125, allocations: 0.84 MB / 340.2 MB, free: 9.859 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.004325, allocations: 163.1 kB / 340.4 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.004435, allocations: 37.64 kB / 340.4 MB, free: 9.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.736e-05/0.004503, allocations: 91.8 kB / 340.5 MB, free: 9.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.004606, allocations: 67.8 kB / 340.6 MB, free: 9.504 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.004626, allocations: 12 kB / 340.6 MB, free: 9.492 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002514/0.004877, allocations: 199.6 kB / 340.8 MB, free: 9.297 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.613e-05/0.004903, allocations: 31.84 kB / 340.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.004947, allocations: 51.86 kB / 340.8 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.005238, allocations: 303 kB / 341.1 MB, free: 8.918 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.005243, allocations: 0 / 341.1 MB, free: 8.918 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.005244, allocations: 0 / 341.1 MB, free: 8.918 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.005248, allocations: 0 / 341.1 MB, free: 8.918 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009952/0.006243, allocations: 0.6713 MB / 341.8 MB, free: 8.207 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.006275, allocations: 8.031 kB / 341.8 MB, free: 8.199 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/0.006339, allocations: 28.84 kB / 341.8 MB, free: 8.172 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.006512, allocations: 181.1 kB / 342 MB, free: 7.965 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.006523, allocations: 8.609 kB / 342 MB, free: 7.957 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.006541, allocations: 12.38 kB / 342 MB, free: 7.945 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.006717, allocations: 198.5 kB / 342.2 MB, free: 7.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.006726, allocations: 192 / 342.2 MB, free: 7.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.00674, allocations: 4.375 kB / 342.2 MB, free: 7.727 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.006749, allocations: 4.375 kB / 342.2 MB, free: 7.723 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.006852, allocations: 71.89 kB / 342.3 MB, free: 7.652 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.007417, allocations: 0.5187 MB / 342.8 MB, free: 7.098 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.007683, allocations: 135 kB / 343 MB, free: 6.953 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.244e-05/0.007745, allocations: 43.67 kB / 343 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.15e-05/0.007787, allocations: 4 kB / 343 MB, free: 6.902 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.007806, allocations: 41.33 kB / 343.1 MB, free: 6.852 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.007807, allocations: 0 / 343.1 MB, free: 6.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008345/0.008642, allocations: 360.2 kB / 343.4 MB, free: 6.492 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.008662, allocations: 51.41 kB / 343.5 MB, free: 6.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.008766, allocations: 221.1 kB / 343.7 MB, free: 6.199 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.008778, allocations: 25.7 kB / 343.7 MB, free: 6.168 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.351e-05/0.008821, allocations: 167.2 kB / 343.9 MB, free: 6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.008846, allocations: 59.48 kB / 343.9 MB, free: 5.941 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/0.008897, allocations: 51.36 kB / 344 MB, free: 5.883 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.85e-05/0.008945, allocations: 0.4961 MB / 344.5 MB, free: 5.375 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.857e-05/0.009014, allocations: 51.97 kB / 344.5 MB, free: 5.324 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.209e-05/0.009076, allocations: 59.84 kB / 344.6 MB, free: 5.266 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.009223, allocations: 125.9 kB / 344.7 MB, free: 5.141 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.009225, allocations: 0 / 344.7 MB, free: 5.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003917/0.009617, allocations: 279.7 kB / 345 MB, free: 4.859 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.009631, allocations: 4 kB / 345 MB, free: 4.855 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.009637, allocations: 3.984 kB / 345 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004371/0.01007, allocations: 127.5 kB / 345.1 MB, free: 4.723 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.804e-05/0.01015, allocations: 31.92 kB / 345.1 MB, free: 4.691 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.01141, allocations: 2.056 MB / 347.2 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.004e-05/0.01148, allocations: 11.89 kB / 347.2 MB, free: 2.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.01149, allocations: 8 kB / 347.2 MB, free: 2.496 MB / 266.7 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 (18): * Single equations (assignments): 17 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 6.254e-05/0.01155, allocations: 168.6 kB / 347.4 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.01158, allocations: 19.91 kB / 347.4 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003945/0.01197, allocations: 258 kB / 347.6 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01198, allocations: 0 / 347.6 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.01198, allocations: 0 / 347.6 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.01198, allocations: 4 kB / 347.6 MB, free: 2.035 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.01211, allocations: 208.5 kB / 347.9 MB, free: 1.797 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.01211, allocations: 0 / 347.9 MB, free: 1.797 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.862e-05/0.01215, allocations: 16 kB / 347.9 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003474/0.0125, allocations: 127.5 kB / 348 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.01251, allocations: 4 kB / 348 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.01362, allocations: 2.038 MB / 350 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01363, allocations: 192 / 350 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000416/0.01404, allocations: 375.1 kB / 350.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.357e-05/0.01407, allocations: 27.83 kB / 350.4 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.01408, allocations: 4 kB / 350.4 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.01415, allocations: 8 kB / 350.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.01419, allocations: 11.97 kB / 350.5 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.01421, allocations: 11.94 kB / 350.5 MB, free: 15.03 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.974e-05/0.01429, allocations: 159 kB / 350.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01429, allocations: 0 / 350.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002527/0.01454, allocations: 63.94 kB / 350.7 MB, free: 14.81 MB / 282.7 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 (13): * Single equations (assignments): 12 * 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 {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000171/0.01471, allocations: 115.2 kB / 350.8 MB, free: 14.69 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004827/0.01519, allocations: 370.1 kB / 351.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01519, allocations: 0 / 351.2 MB, free: 14.31 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.01544, allocations: 273.4 kB / 351.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.01566, allocations: 23.94 kB / 351.4 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007667/0.01642, allocations: 343.9 kB / 351.8 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.961e-05/0.01647, allocations: 68 kB / 351.8 MB, free: 13.55 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.634e-05/0.01653, allocations: 25.45 kB / 351.9 MB, free: 13.53 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.01656, allocations: 20.48 kB / 351.9 MB, free: 13.51 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01656, allocations: 0 / 351.9 MB, free: 13.51 MB / 282.7 MB Notification: Performance of Templates: time 0.005643/0.02221, allocations: 3.86 MB / 355.8 MB, free: 9.684 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8689636529888958]