Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 103.6 kB / 16.51 MB, free: 6.645 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.001145/0.001145, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.408/1.408, allocations: 222.9 MB / 241.1 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1789/0.1789, allocations: 38.03 MB / 329.3 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 65.88 kB / 398.1 MB, free: 34.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1165, allocations: 58.06 MB / 456.1 MB, free: 8.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.006613/0.1231, allocations: 4.523 MB / 460.7 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.1254, allocations: 0.9778 MB / 461.6 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002466/0.1256, allocations: 23.88 kB / 461.7 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.1259, allocations: 31.7 kB / 461.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004419/0.1264, allocations: 155.2 kB / 461.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.1266, allocations: 67.92 kB / 461.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005015/0.1271, allocations: 0.5258 MB / 462.4 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.1273, allocations: 93.69 kB / 462.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.1275, allocations: 151.2 kB / 462.7 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.1278, allocations: 187.3 kB / 462.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.1279, allocations: 15.94 kB / 462.9 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.275e-05/0.1279, allocations: 16 kB / 462.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.1281, allocations: 71.73 kB / 463 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.1282, allocations: 135.3 kB / 463.1 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003061/0.1285, allocations: 278.9 kB / 463.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1285, allocations: 4 kB / 463.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1285, allocations: 0 / 463.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1286, allocations: 0 / 463.4 MB, free: 1.234 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001144/0.1297, allocations: 0.5894 MB / 464 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.1298, allocations: 11.97 kB / 464 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.207e-05/0.1299, allocations: 36.56 kB / 464 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005006/0.1304, allocations: 319 kB / 464.3 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.1304, allocations: 12.81 kB / 464.3 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.1305, allocations: 36.12 kB / 464.4 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004923/0.131, allocations: 298 kB / 464.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1311, allocations: 4 kB / 464.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.1311, allocations: 4 kB / 464.7 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1311, allocations: 8 kB / 464.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.1314, allocations: 183.8 kB / 464.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.1331, allocations: 1.28 MB / 466.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.1334, allocations: 119.8 kB / 466.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.475e-05/0.1335, allocations: 50.62 kB / 466.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.1336, allocations: 7.938 kB / 466.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.1336, allocations: 34.56 kB / 466.3 MB, free: 14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/0.1336, allocations: 0 / 466.3 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00106/0.1347, allocations: 0.5309 MB / 466.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/0.1348, allocations: 106.8 kB / 467 MB, free: 13.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.1351, allocations: 243 kB / 467.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1351, allocations: 29.64 kB / 467.2 MB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.1353, allocations: 203.5 kB / 467.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.1353, allocations: 39.45 kB / 467.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-05/0.1354, allocations: 41.7 kB / 467.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1356, allocations: 338.8 kB / 467.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.572e-05/0.1357, allocations: 35.98 kB / 467.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.1358, allocations: 139.9 kB / 468 MB, free: 12.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.1361, allocations: 195.8 kB / 468.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1361, allocations: 0 / 468.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003997/0.1365, allocations: 234.1 kB / 468.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1365, allocations: 10.03 kB / 468.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.1365, allocations: 4 kB / 468.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001266/0.1367, allocations: 24.84 kB / 468.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.137, allocations: 71.81 kB / 468.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.137, allocations: 7.938 kB / 468.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.1371, allocations: 8 kB / 468.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.1372, allocations: 8 kB / 468.6 MB, free: 11.55 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001597/0.1373, allocations: 156.7 kB / 468.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.1374, allocations: 19.72 kB / 468.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.1377, allocations: 151.2 kB / 468.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1377, allocations: 3.938 kB / 468.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.1377, allocations: 4 kB / 468.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1377, allocations: 0 / 468.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.1381, allocations: 281.5 kB / 469.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1381, allocations: 4 kB / 469.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.1383, allocations: 31.92 kB / 469.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1383, allocations: 3.984 kB / 469.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1383, allocations: 8 kB / 469.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1383, allocations: 3.938 kB / 469.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1383, allocations: 0 / 469.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.1387, allocations: 362.2 kB / 469.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.1387, allocations: 100.9 kB / 469.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.1388, allocations: 3.984 kB / 469.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.1389, allocations: 8.031 kB / 469.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.139, allocations: 15.88 kB / 469.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.139, allocations: 7.984 kB / 469.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.1392, allocations: 170 kB / 469.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1392, allocations: 0 / 469.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003382/0.1395, allocations: 44 kB / 469.9 MB, free: 10.11 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001223/0.1397, allocations: 103.3 kB / 470 MB, free: 9.996 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003617/0.14, allocations: 217.7 kB / 470.2 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.14, allocations: 0 / 470.2 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.367e-05/0.1401, allocations: 48.73 kB / 470.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005453/0.1407, allocations: 52.66 kB / 470.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.1418, allocations: 0.6959 MB / 471 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.1422, allocations: 0.7677 MB / 471.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.1423, allocations: 30.3 kB / 471.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.1423, allocations: 31.36 kB / 471.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1423, allocations: 0 / 471.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of Templates: time 0.00528/0.1476, allocations: 2.095 MB / 474 MB, free: 6 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1)