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.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.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 99.06 kB / 16.44 MB, free: 6.5 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.001305/0.001305, allocations: 192 kB / 17.38 MB, free: 5.715 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.423/1.423, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05193/0.05193, allocations: 8.1 MB / 299.3 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 63.89 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1239, allocations: 51.51 MB / 466 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.00279/0.1267, allocations: 1.232 MB / 467.2 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.1287, allocations: 1.481 MB / 468.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.019e-05/0.1288, allocations: 0 / 468.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003756/0.1292, allocations: 115.5 kB / 468.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002395/0.1295, allocations: 71.55 kB / 468.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.1311, allocations: 0.9022 MB / 469.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.1314, allocations: 163.2 kB / 469.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.1316, allocations: 57.5 kB / 470 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.152e-05/0.1317, allocations: 55.8 kB / 470.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.1318, allocations: 91.61 kB / 470.1 MB, free: 14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.1318, allocations: 12 kB / 470.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003349/0.1322, allocations: 195.8 kB / 470.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.275e-05/0.1322, allocations: 27.86 kB / 470.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.754e-05/0.1323, allocations: 83.58 kB / 470.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.1327, allocations: 307.2 kB / 470.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1328, allocations: 0 / 470.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.1328, allocations: 4 kB / 470.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1328, allocations: 0 / 470.8 MB, free: 13.38 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001733/0.1345, allocations: 0.6317 MB / 471.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.1346, allocations: 12.03 kB / 471.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.584e-05/0.1346, allocations: 20.73 kB / 471.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.1349, allocations: 220.6 kB / 471.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.135, allocations: 16.55 kB / 471.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.382e-05/0.135, allocations: 12.38 kB / 471.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.1353, allocations: 183.6 kB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1354, allocations: 0 / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.1354, allocations: 8 kB / 471.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.1354, allocations: 0 / 471.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.1357, allocations: 156.6 kB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.1368, allocations: 0.703 MB / 472.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005166/0.1373, allocations: 210.5 kB / 472.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.1374, allocations: 88.84 kB / 473 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.963e-05/0.1375, allocations: 4 kB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.1375, allocations: 46.47 kB / 473 MB, free: 10.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.846e-06/0.1375, allocations: 4 kB / 473.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001684/0.1392, allocations: 0.5538 MB / 473.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.1393, allocations: 59.41 kB / 473.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.1395, allocations: 172 kB / 473.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.1395, allocations: 29.7 kB / 473.9 MB, free: 10.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/0.1396, allocations: 116.2 kB / 474 MB, free: 9.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.1396, allocations: 63.17 kB / 474 MB, free: 9.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.227e-05/0.1397, allocations: 41.7 kB / 474.1 MB, free: 9.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1399, allocations: 322.8 kB / 474.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.14, allocations: 91.97 kB / 474.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.1401, allocations: 98.81 kB / 474.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.1405, allocations: 220.6 kB / 474.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1405, allocations: 0 / 474.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007923/0.1413, allocations: 380.4 kB / 475.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1413, allocations: 4 kB / 475.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.1413, allocations: 7.922 kB / 475.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006853/0.142, allocations: 136.7 kB / 475.3 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.1421, allocations: 35.91 kB / 475.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002596/0.1448, allocations: 2.02 MB / 477.4 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.1449, allocations: 19.69 kB / 477.4 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.1449, allocations: 8 kB / 477.4 MB, free: 6.324 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 (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 0.0001216/0.1451, allocations: 133.8 kB / 477.5 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.1451, allocations: 11.91 kB / 477.5 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008638/0.146, allocations: 366.5 kB / 477.9 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.146, allocations: 8 kB / 477.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.146, allocations: 4 kB / 477.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.146, allocations: 0 / 477.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.1463, allocations: 301.3 kB / 478.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1463, allocations: 4 kB / 478.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.975e-05/0.1464, allocations: 12 kB / 478.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005917/0.147, allocations: 140.7 kB / 478.4 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.1471, allocations: 4 kB / 478.4 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.1492, allocations: 2.009 MB / 480.4 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1492, allocations: 4.062 kB / 480.4 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008097/0.15, allocations: 427.9 kB / 480.8 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/0.1501, allocations: 96.8 kB / 480.9 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.1501, allocations: 4 kB / 480.9 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.1503, allocations: 11.98 kB / 480.9 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.1503, allocations: 19.92 kB / 480.9 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.1504, allocations: 4 kB / 480.9 MB, free: 2.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.1505, allocations: 136 kB / 481.1 MB, free: 2.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1505, allocations: 0 / 481.1 MB, free: 2.422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003863/0.1509, allocations: 60 kB / 481.1 MB, free: 2.363 MB / 350.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 (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.0002173/0.1511, allocations: 119.2 kB / 481.2 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008131/0.152, allocations: 374.5 kB / 481.6 MB, free: 1.855 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.152, allocations: 4 kB / 481.6 MB, free: 1.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004618/0.1524, allocations: 270.5 kB / 481.9 MB, free: 1.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.1528, allocations: 18.66 kB / 481.9 MB, free: 1.559 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006379/0.1534, allocations: 351.2 kB / 482.2 MB, free: 1.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.1537, allocations: 0.724 MB / 482.9 MB, free: 444 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.33e-05/0.1538, allocations: 17.42 kB / 483 MB, free: 428 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.1539, allocations: 23.42 kB / 483 MB, free: 404 kB / 350.1 MB Notification: Performance of SimCode: time 2.024e-06/0.1539, allocations: 0 / 483 MB, free: 404 kB / 350.1 MB Notification: Performance of Templates: time 0.007947/0.1618, allocations: 4.082 MB / 487.1 MB, free: 12.34 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.makefile (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=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)