Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.00114/0.00114, allocations: 183.1 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.4 MB / 223.4 MB, free: 5.277 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3019/0.3019, allocations: 38.06 MB / 309.7 MB, free: 8.953 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005326/0.000533, allocations: 16 kB / 376.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.102, allocations: 56.33 MB / 432.8 MB, free: 6.707 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.00501/0.107, allocations: 4.599 MB / 437.4 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002879/0.1099, allocations: 1.614 MB / 439.1 MB, free: 476 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000305/0.1103, allocations: 27.81 kB / 439.1 MB, free: 448 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.1105, allocations: 79.39 kB / 439.2 MB, free: 368 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006777/0.1112, allocations: 254.7 kB / 439.4 MB, free: 112 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007155/0.112, allocations: 243.5 kB / 439.7 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006562/0.1126, allocations: 0.6625 MB / 440.3 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008244/0.1135, allocations: 0.5397 MB / 440.9 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003055/0.1138, allocations: 207.1 kB / 441.1 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004285/0.1142, allocations: 303.1 kB / 441.4 MB, free: 14.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.047e-05/0.1143, allocations: 16 kB / 441.4 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.1146, allocations: 99.78 kB / 441.5 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.1148, allocations: 215.5 kB / 441.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.514e-05/0.1149, allocations: 109.5 kB / 441.8 MB, free: 13.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004069/0.1153, allocations: 450.8 kB / 442.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1153, allocations: 0 / 442.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1153, allocations: 0 / 442.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1153, allocations: 4 kB / 442.2 MB, free: 13.25 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001085/0.1164, allocations: 0.6802 MB / 442.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.1165, allocations: 12.03 kB / 442.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005233/0.117, allocations: 91.27 kB / 443 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005111/0.1175, allocations: 387 kB / 443.4 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.943e-05/0.1175, allocations: 29 kB / 443.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.1177, allocations: 55.94 kB / 443.5 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008409/0.1185, allocations: 0.645 MB / 444.1 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.1186, allocations: 7.938 kB / 444.1 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/0.1186, allocations: 16 kB / 444.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.1187, allocations: 36.98 kB / 444.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006981/0.1194, allocations: 479.5 kB / 444.6 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003058/0.1225, allocations: 3.018 MB / 447.7 MB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.1228, allocations: 181 kB / 447.8 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.1229, allocations: 121.7 kB / 448 MB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.123, allocations: 3.984 kB / 448 MB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.123, allocations: 42.86 kB / 448 MB, free: 7.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 4.298e-06/0.123, allocations: 0 / 448 MB, free: 7.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.001286/0.1243, allocations: 0.8311 MB / 448.8 MB, free: 6.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.1244, allocations: 85.19 kB / 448.9 MB, free: 6.133 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.1247, allocations: 345.5 kB / 449.3 MB, free: 5.789 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.1247, allocations: 29.7 kB / 449.3 MB, free: 5.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.1249, allocations: 291 kB / 449.6 MB, free: 5.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.45e-05/0.125, allocations: 86.83 kB / 449.7 MB, free: 5.379 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/0.125, allocations: 8 kB / 449.7 MB, free: 5.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1251, allocations: 346.8 kB / 450 MB, free: 5.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.1253, allocations: 120.8 kB / 450.1 MB, free: 4.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000274/0.1256, allocations: 331 kB / 450.4 MB, free: 4.492 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.1259, allocations: 188 kB / 450.6 MB, free: 4.309 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1259, allocations: 0 / 450.6 MB, free: 4.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008945/0.1268, allocations: 0.561 MB / 451.2 MB, free: 3.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1268, allocations: 8 kB / 451.2 MB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004741/0.1273, allocations: 276.6 kB / 451.5 MB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003128/0.1276, allocations: 80.78 kB / 451.5 MB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.1279, allocations: 100.2 kB / 451.6 MB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.1294, allocations: 1.601 MB / 453.2 MB, free: 1.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.1296, allocations: 24.05 kB / 453.3 MB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.1297, allocations: 20 kB / 453.3 MB, free: 1.496 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002274/0.1299, allocations: 213.6 kB / 453.5 MB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.13, allocations: 39.48 kB / 453.5 MB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000446/0.1304, allocations: 288.7 kB / 453.8 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1304, allocations: 4 kB / 453.8 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.1304, allocations: 4 kB / 453.8 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1304, allocations: 4 kB / 453.8 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.1315, allocations: 0.7979 MB / 454.6 MB, free: 80 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.1316, allocations: 4 kB / 454.6 MB, free: 76 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/0.1318, allocations: 51.91 kB / 454.7 MB, free: 24 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.1318, allocations: 4.062 kB / 454.7 MB, free: 20 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.1319, allocations: 11.98 kB / 454.7 MB, free: 8 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1319, allocations: 4 kB / 454.7 MB, free: 4 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1319, allocations: 4 kB / 454.7 MB, free: 0 / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2043/0.3362, allocations: 469.7 kB / 455.2 MB, free: 51.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.3364, allocations: 108.2 kB / 455.3 MB, free: 51.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8e-05/0.3365, allocations: 6.875 kB / 455.3 MB, free: 51.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.3367, allocations: 12.88 kB / 455.3 MB, free: 51.06 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.3368, allocations: 18.64 kB / 455.3 MB, free: 51.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.3368, allocations: 9.156 kB / 455.3 MB, free: 51.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002966/0.3371, allocations: 235.8 kB / 455.5 MB, free: 50.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.3372, allocations: 0 / 455.5 MB, free: 50.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000664/0.3378, allocations: 92.91 kB / 455.6 MB, free: 50.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (24): * Single equations (assignments): 23 * 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.0002091/0.338, allocations: 110.7 kB / 455.7 MB, free: 50.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.3391, allocations: 439.8 kB / 456.2 MB, free: 50.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.3391, allocations: 0 / 456.2 MB, free: 50.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.3393, allocations: 113.2 kB / 456.3 MB, free: 50.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005378/0.3399, allocations: 63.84 kB / 456.3 MB, free: 50.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.3415, allocations: 1.222 MB / 457.6 MB, free: 50.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.3419, allocations: 0.864 MB / 458.4 MB, free: 49.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002916/0.3422, allocations: 110.3 kB / 458.5 MB, free: 49.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.826e-05/0.3423, allocations: 35.03 kB / 458.6 MB, free: 49.5 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3423, allocations: 0 / 458.6 MB, free: 49.5 MB / 382.1 MB Notification: Performance of Templates: time 0.007/0.3493, allocations: 3.248 MB / 461.8 MB, free: 49.29 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1) Environment - environmentSimulation: