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.001111/0.00111, allocations: 111.9 kB / 17.68 MB, free: 5.473 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.001169/0.00117, allocations: 192 kB / 18.62 MB, free: 4.543 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.622/1.622, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1822/0.1822, allocations: 37.99 MB / 309.8 MB, free: 5.969 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.001493/0.001493, allocations: 59.91 kB / 376.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2732, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.00423/0.2774, allocations: 3.443 MB / 435.5 MB, free: 16.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.2796, allocations: 1.489 MB / 436.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.2799, allocations: 7.938 kB / 436.9 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000913/0.2808, allocations: 255 kB / 437.2 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000585/0.2814, allocations: 278.9 kB / 437.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.2818, allocations: 111.7 kB / 437.6 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000413/0.2822, allocations: 339 kB / 437.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003755/0.2826, allocations: 137.7 kB / 438 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002268/0.2828, allocations: 151.4 kB / 438.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.283, allocations: 147.5 kB / 438.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.7e-05/0.2831, allocations: 12 kB / 438.3 MB, free: 13.13 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004587/0.2835, allocations: 319.2 kB / 438.7 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.2837, allocations: 99.77 kB / 438.8 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.2838, allocations: 103.5 kB / 438.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004152/0.2842, allocations: 339.1 kB / 439.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2842, allocations: 3.938 kB / 439.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2842, allocations: 4 kB / 439.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.2842, allocations: 0 / 439.2 MB, free: 12.28 MB / 318.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.0006735/0.2849, allocations: 0.5103 MB / 439.7 MB, free: 11.72 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.285, allocations: 11.89 kB / 439.7 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008503/0.2858, allocations: 92.55 kB / 439.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.2862, allocations: 268.4 kB / 440.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.2862, allocations: 12.38 kB / 440.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.2863, allocations: 24.11 kB / 440.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004202/0.2867, allocations: 318.2 kB / 440.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.2867, allocations: 0 / 440.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.2867, allocations: 12 kB / 440.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.589e-05/0.2868, allocations: 12 kB / 440.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003651/0.2872, allocations: 287.8 kB / 440.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.2886, allocations: 1.297 MB / 442 MB, free: 9.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005588/0.2892, allocations: 209.2 kB / 442.2 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.247e-05/0.2893, allocations: 57.7 kB / 442.3 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.925e-05/0.2894, allocations: 11.88 kB / 442.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.2894, allocations: 38.55 kB / 442.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.2894, allocations: 0 / 442.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.00105/0.2905, allocations: 438.1 kB / 442.8 MB, free: 8.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.2905, allocations: 81.11 kB / 442.8 MB, free: 8.355 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.2907, allocations: 190.4 kB / 443 MB, free: 8.156 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.2908, allocations: 25.7 kB / 443 MB, free: 8.125 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.2909, allocations: 167.7 kB / 443.2 MB, free: 7.957 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/0.2909, allocations: 43.36 kB / 443.3 MB, free: 7.914 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-05/0.291, allocations: 45.7 kB / 443.3 MB, free: 7.863 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2911, allocations: 334.8 kB / 443.6 MB, free: 7.527 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.716e-05/0.2912, allocations: 47.97 kB / 443.7 MB, free: 7.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.2913, allocations: 152.8 kB / 443.8 MB, free: 7.285 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.2916, allocations: 220.7 kB / 444 MB, free: 7.023 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2916, allocations: 0 / 444 MB, free: 7.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003898/0.292, allocations: 273.8 kB / 444.3 MB, free: 6.746 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.2921, allocations: 8 kB / 444.3 MB, free: 6.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2921, allocations: 4 kB / 444.3 MB, free: 6.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002746/0.2924, allocations: 41.27 kB / 444.4 MB, free: 6.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.2925, allocations: 39.92 kB / 444.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009563/0.2935, allocations: 1.445 MB / 445.8 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.2936, allocations: 11.98 kB / 445.9 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.2936, allocations: 16 kB / 445.9 MB, free: 5.039 MB / 318.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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.2937, allocations: 153.8 kB / 446 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.2938, allocations: 23.84 kB / 446 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003299/0.2941, allocations: 187.9 kB / 446.2 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2941, allocations: 0 / 446.2 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2941, allocations: 4 kB / 446.2 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2942, allocations: 0 / 446.2 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006555/0.2948, allocations: 0.5562 MB / 446.8 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.2948, allocations: 4 kB / 446.8 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.747e-05/0.2949, allocations: 19.98 kB / 446.8 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001201/0.295, allocations: 28.83 kB / 446.8 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.2951, allocations: 7.938 kB / 446.8 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000823/0.2959, allocations: 1.414 MB / 448.3 MB, free: 2.422 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2959, allocations: 8.094 kB / 448.3 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.2962, allocations: 307.3 kB / 448.6 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.2963, allocations: 96.92 kB / 448.7 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.2963, allocations: 4 kB / 448.7 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.94e-05/0.2964, allocations: 4 kB / 448.7 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.2965, allocations: 19.86 kB / 448.7 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.2965, allocations: 11.98 kB / 448.7 MB, free: 1.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.2966, allocations: 148.1 kB / 448.8 MB, free: 1.785 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2966, allocations: 0 / 448.8 MB, free: 1.785 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003478/0.297, allocations: 48 kB / 448.9 MB, free: 1.738 MB / 318.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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001202/0.2971, allocations: 103.2 kB / 449 MB, free: 1.629 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004524/0.2976, allocations: 258.5 kB / 449.2 MB, free: 1.363 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2976, allocations: 0 / 449.2 MB, free: 1.363 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.2978, allocations: 191.1 kB / 449.4 MB, free: 1.168 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.2981, allocations: 38.47 kB / 449.5 MB, free: 1.133 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006477/0.2988, allocations: 443.2 kB / 449.9 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.2991, allocations: 0.7671 MB / 450.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.2992, allocations: 37.52 kB / 450.7 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.2993, allocations: 15.44 kB / 450.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2993, allocations: 4 kB / 450.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of Templates: time 0.005119/0.3044, allocations: 1.646 MB / 452.4 MB, free: 14.17 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile (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 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)