Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, 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.001319/0.001319, 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.454/1.454, allocations: 205.4 MB / 223.4 MB, free: 5.262 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3009/0.3009, allocations: 38.06 MB / 309.7 MB, free: 8.973 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.0005784/0.0005787, allocations: 20 kB / 376.5 MB, free: 15.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.105, allocations: 56.34 MB / 432.9 MB, free: 6.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003828/0.1088, allocations: 3.187 MB / 436 MB, free: 3.492 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.1108, allocations: 1.432 MB / 437.5 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.1111, allocations: 11.94 kB / 437.5 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.1113, allocations: 39.7 kB / 437.5 MB, free: 2 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006487/0.112, allocations: 215.2 kB / 437.7 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.1123, allocations: 91.75 kB / 437.8 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004305/0.1127, allocations: 434.8 kB / 438.2 MB, free: 1.273 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005794/0.1133, allocations: 323.1 kB / 438.6 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.1135, allocations: 119.4 kB / 438.7 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.1137, allocations: 155.5 kB / 438.8 MB, free: 0.668 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.1138, allocations: 8 kB / 438.8 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003089/0.1141, allocations: 159.5 kB / 439 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.968e-05/0.1142, allocations: 91.75 kB / 439.1 MB, free: 424 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.577e-05/0.1142, allocations: 61.64 kB / 439.1 MB, free: 356 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.1145, allocations: 243.4 kB / 439.4 MB, free: 112 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.1145, allocations: 3.984 kB / 439.4 MB, free: 108 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1145, allocations: 0 / 439.4 MB, free: 108 kB / 366.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1145, allocations: 3.938 kB / 439.4 MB, free: 104 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005723/0.1151, allocations: 490.5 kB / 439.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1152, allocations: 8.031 kB / 439.9 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007598/0.1159, allocations: 91.61 kB / 440 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.1162, allocations: 251.2 kB / 440.2 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.1163, allocations: 12 kB / 440.2 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/0.1163, allocations: 16 kB / 440.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004399/0.1167, allocations: 322.2 kB / 440.6 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.1168, allocations: 3.984 kB / 440.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.1168, allocations: 8 kB / 440.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-05/0.1168, allocations: 19.89 kB / 440.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003891/0.1172, allocations: 291.6 kB / 440.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.1187, allocations: 1.301 MB / 442.2 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005428/0.1193, allocations: 209.2 kB / 442.4 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.407e-05/0.1194, allocations: 53.77 kB / 442.4 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.1194, allocations: 3.984 kB / 442.4 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1194, allocations: 38.55 kB / 442.5 MB, free: 12.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.1194, allocations: 0 / 442.5 MB, free: 12.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008665/0.1203, allocations: 439 kB / 442.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.1204, allocations: 85.05 kB / 443 MB, free: 12.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.1206, allocations: 194.2 kB / 443.2 MB, free: 12.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.1206, allocations: 25.7 kB / 443.2 MB, free: 11.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.66e-05/0.1207, allocations: 163.8 kB / 443.4 MB, free: 11.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.1207, allocations: 47.3 kB / 443.4 MB, free: 11.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.298e-06/0.1207, allocations: 4 kB / 443.4 MB, free: 11.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1209, allocations: 326.8 kB / 443.7 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.837e-05/0.121, allocations: 52 kB / 443.8 MB, free: 11.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.1211, allocations: 152.8 kB / 443.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.1212, allocations: 80.02 kB / 444 MB, free: 11.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1212, allocations: 4 kB / 444 MB, free: 11.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004005/0.1216, allocations: 257.8 kB / 444.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1217, allocations: 12.34 kB / 444.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1217, allocations: 4 kB / 444.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002243/0.1219, allocations: 48.78 kB / 444.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.1221, allocations: 43.91 kB / 444.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.1232, allocations: 1.335 MB / 445.7 MB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.1234, allocations: 8 kB / 445.7 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.1234, allocations: 12 kB / 445.7 MB, free: 9.258 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 23 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000153/0.1235, allocations: 157.7 kB / 445.9 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.1236, allocations: 19.91 kB / 445.9 MB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.124, allocations: 191.9 kB / 446.1 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.124, allocations: 0 / 446.1 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.124, allocations: 0 / 446.1 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.124, allocations: 4 kB / 446.1 MB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008057/0.1248, allocations: 0.5641 MB / 446.6 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1248, allocations: 0 / 446.6 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.1249, allocations: 23.98 kB / 446.7 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001234/0.1251, allocations: 28.83 kB / 446.7 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.1251, allocations: 8 kB / 446.7 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009262/0.126, allocations: 1.319 MB / 448 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.126, allocations: 160 / 448 MB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.1264, allocations: 299.5 kB / 448.3 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.912e-05/0.1265, allocations: 96.86 kB / 448.4 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.1265, allocations: 8 kB / 448.4 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.1266, allocations: 4 kB / 448.4 MB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.1266, allocations: 19.88 kB / 448.4 MB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.1267, allocations: 4 kB / 448.4 MB, free: 6.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.1268, allocations: 148.3 kB / 448.6 MB, free: 6.105 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1268, allocations: 0 / 448.6 MB, free: 6.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003507/0.1271, allocations: 48 kB / 448.6 MB, free: 6.059 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001082/0.1273, allocations: 103.2 kB / 448.7 MB, free: 5.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004531/0.1277, allocations: 266.4 kB / 449 MB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1277, allocations: 3.938 kB / 449 MB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.1279, allocations: 179.7 kB / 449.2 MB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.1283, allocations: 32.12 kB / 449.2 MB, free: 5.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007035/0.129, allocations: 0.5143 MB / 449.7 MB, free: 4.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.1294, allocations: 0.7598 MB / 450.5 MB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.1295, allocations: 41.52 kB / 450.5 MB, free: 4.074 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.1295, allocations: 15.44 kB / 450.5 MB, free: 4.059 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1295, allocations: 0 / 450.5 MB, free: 4.059 MB / 382.1 MB Notification: Performance of Templates: time 0.004326/0.1339, allocations: 1.538 MB / 452.1 MB, free: 2.52 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) Environment - environmentSimulation: