Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001597/0.001601, allocations: 189.1 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 221.9 MB, free: 13.8 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 98.86 kB / 270.2 MB, free: 13.33 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2681/0.2681, allocations: 38.05 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006216/0.000622, allocations: 12 kB / 422.7 MB, free: 26.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1093, allocations: 56.32 MB / 479 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.006517/0.1158, allocations: 3.839 MB / 482.9 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.1183, allocations: 0.991 MB / 483.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003385/0.1187, allocations: 19.88 kB / 483.9 MB, free: 13.16 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.1189, allocations: 35.69 kB / 483.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007116/0.1197, allocations: 171.4 kB / 484.1 MB, free: 12.95 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.1201, allocations: 83.88 kB / 484.2 MB, free: 12.87 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004705/0.1206, allocations: 215.6 kB / 484.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002354/0.1208, allocations: 81.12 kB / 484.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003386/0.1212, allocations: 139.5 kB / 484.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.1215, allocations: 131.4 kB / 484.7 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.732e-05/0.1216, allocations: 15.94 kB / 484.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.044e-05/0.1217, allocations: 12 kB / 484.7 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.1218, allocations: 63.81 kB / 484.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.1219, allocations: 89.5 kB / 484.9 MB, free: 12.14 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.1223, allocations: 203.4 kB / 485.1 MB, free: 11.94 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1223, allocations: 0 / 485.1 MB, free: 11.94 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1223, allocations: 0 / 485.1 MB, free: 11.94 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1223, allocations: 0 / 485.1 MB, free: 11.94 MB / 330.7 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.00148/0.1238, allocations: 0.558 MB / 485.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1239, allocations: 8.031 kB / 485.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.778e-05/0.124, allocations: 31.62 kB / 485.7 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000807/0.1248, allocations: 313.8 kB / 486 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.487e-05/0.1249, allocations: 20.42 kB / 486 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/0.1251, allocations: 32 kB / 486.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006693/0.1258, allocations: 290 kB / 486.3 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1258, allocations: 0 / 486.3 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/0.1259, allocations: 11.95 kB / 486.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.1259, allocations: 8 kB / 486.4 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005439/0.1264, allocations: 187.5 kB / 486.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.1289, allocations: 1.288 MB / 487.8 MB, free: 8.992 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.1293, allocations: 119.8 kB / 487.9 MB, free: 8.848 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.1294, allocations: 8.062 kB / 488 MB, free: 8.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.1294, allocations: 34.66 kB / 488 MB, free: 8.797 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.966e-06/0.1294, allocations: 3.938 kB / 488 MB, free: 8.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0014/0.1308, allocations: 0.5387 MB / 488.5 MB, free: 8.199 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.1309, allocations: 107.1 kB / 488.6 MB, free: 8.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.1313, allocations: 234.7 kB / 488.9 MB, free: 7.824 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.1313, allocations: 29.7 kB / 488.9 MB, free: 7.789 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.1315, allocations: 246.1 kB / 489.1 MB, free: 7.547 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.069e-05/0.1316, allocations: 51.38 kB / 489.2 MB, free: 7.496 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/0.1316, allocations: 0 / 489.2 MB, free: 7.496 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1318, allocations: 322.8 kB / 489.5 MB, free: 7.172 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.1319, allocations: 39.98 kB / 489.5 MB, free: 7.133 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.1321, allocations: 131.8 kB / 489.7 MB, free: 6.961 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.1323, allocations: 59.94 kB / 489.7 MB, free: 6.902 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1323, allocations: 0 / 489.7 MB, free: 6.902 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006591/0.133, allocations: 222.1 kB / 489.9 MB, free: 6.676 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.133, allocations: 15.89 kB / 490 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1331, allocations: 0 / 490 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001949/0.1333, allocations: 28.84 kB / 490 MB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006742/0.134, allocations: 64.28 kB / 490 MB, free: 6.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.134, allocations: 8 kB / 490.1 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.1342, allocations: 8 kB / 490.1 MB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/0.1343, allocations: 16.08 kB / 490.1 MB, free: 6.535 MB / 330.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002308/0.1345, allocations: 149.7 kB / 490.2 MB, free: 6.379 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.625e-05/0.1346, allocations: 19.72 kB / 490.2 MB, free: 6.359 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004377/0.1351, allocations: 155.3 kB / 490.4 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1351, allocations: 4 kB / 490.4 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.1351, allocations: 4 kB / 490.4 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.1351, allocations: 3.984 kB / 490.4 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00054/0.1357, allocations: 289.5 kB / 490.7 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1357, allocations: 0 / 490.7 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.136, allocations: 31.92 kB / 490.7 MB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.136, allocations: 0 / 490.7 MB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.1361, allocations: 7.984 kB / 490.7 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.19e-05/0.1361, allocations: 7.953 kB / 490.7 MB, free: 5.812 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1361, allocations: 0 / 490.7 MB, free: 5.812 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00064/0.1368, allocations: 398.6 kB / 491.1 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1369, allocations: 108.7 kB / 491.2 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.137, allocations: 0 / 491.2 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.1372, allocations: 8 kB / 491.2 MB, free: 5.258 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.1373, allocations: 16.05 kB / 491.3 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.1373, allocations: 4 kB / 491.3 MB, free: 5.238 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002423/0.1375, allocations: 170 kB / 491.4 MB, free: 5.074 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1376, allocations: 0 / 491.4 MB, free: 5.074 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005204/0.1381, allocations: 48 kB / 491.5 MB, free: 5.027 MB / 330.7 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001421/0.1382, allocations: 95.23 kB / 491.6 MB, free: 4.926 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006276/0.1389, allocations: 218.1 kB / 491.8 MB, free: 4.691 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.1389, allocations: 4 kB / 491.8 MB, free: 4.688 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.1391, allocations: 51.92 kB / 491.8 MB, free: 4.637 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006166/0.1397, allocations: 56.42 kB / 491.9 MB, free: 4.582 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.1414, allocations: 0.7901 MB / 492.7 MB, free: 3.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.1419, allocations: 0.7874 MB / 493.5 MB, free: 2.938 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.142, allocations: 23.38 kB / 493.5 MB, free: 2.914 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.142, allocations: 0 / 493.5 MB, free: 2.914 MB / 330.7 MB Notification: Performance of Templates: time 0.008857/0.1509, allocations: 3.423 MB / 496.9 MB, free: 15.49 MB / 346.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1)