Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 112.8 kB / 17.68 MB, free: 5.355 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.001292/0.001292, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.436/1.436, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1804/0.1804, allocations: 37.99 MB / 309.8 MB, free: 5.965 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.001406/0.001407, allocations: 71.91 kB / 376.8 MB, free: 2.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2311, allocations: 55.25 MB / 432 MB, free: 19.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.005619/0.2368, allocations: 3.954 MB / 436 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.2392, allocations: 1.87 MB / 437.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.2393, allocations: 15.94 kB / 437.9 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.2404, allocations: 354.6 kB / 438.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008498/0.2412, allocations: 406.5 kB / 438.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.2417, allocations: 143.6 kB / 438.7 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004897/0.2422, allocations: 486.7 kB / 439.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003697/0.2425, allocations: 211.1 kB / 439.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.2428, allocations: 215 kB / 439.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003029/0.2431, allocations: 223.3 kB / 439.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/0.2432, allocations: 20 kB / 439.9 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006776/0.2439, allocations: 454.9 kB / 440.3 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.244, allocations: 155.6 kB / 440.5 MB, free: 11 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.2442, allocations: 147.2 kB / 440.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005891/0.2448, allocations: 0.4947 MB / 441.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2448, allocations: 0 / 441.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2448, allocations: 0 / 441.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.2449, allocations: 0 / 441.1 MB, free: 10.36 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0008091/0.2457, allocations: 0.5964 MB / 441.7 MB, free: 9.715 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.2457, allocations: 15.89 kB / 441.7 MB, free: 9.699 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.2475, allocations: 140.3 kB / 441.9 MB, free: 9.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/0.248, allocations: 296.9 kB / 442.1 MB, free: 9.234 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.248, allocations: 16.94 kB / 442.2 MB, free: 9.219 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.401e-05/0.2481, allocations: 24.38 kB / 442.2 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007493/0.2488, allocations: 451.9 kB / 442.6 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.2489, allocations: 3.906 kB / 442.6 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.2489, allocations: 11.98 kB / 442.6 MB, free: 8.715 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.552e-05/0.249, allocations: 24.55 kB / 442.7 MB, free: 8.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007393/0.2497, allocations: 425.9 kB / 443.1 MB, free: 8.273 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002211/0.2519, allocations: 1.714 MB / 444.8 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.2523, allocations: 286.1 kB / 445.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.2526, allocations: 133.7 kB / 445.2 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.709e-05/0.2526, allocations: 4 kB / 445.2 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.2526, allocations: 46.48 kB / 445.3 MB, free: 5.918 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.953e-06/0.2526, allocations: 0 / 445.3 MB, free: 5.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.001909/0.2546, allocations: 0.7798 MB / 446 MB, free: 5.109 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.2546, allocations: 81.11 kB / 446.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.2548, allocations: 218.6 kB / 446.3 MB, free: 4.789 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.2548, allocations: 25.7 kB / 446.4 MB, free: 4.758 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.2549, allocations: 184.1 kB / 446.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.312e-05/0.2549, allocations: 82.89 kB / 446.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.688e-05/0.255, allocations: 57.98 kB / 446.7 MB, free: 4.43 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.584e-05/0.255, allocations: 330.8 kB / 447 MB, free: 4.098 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.2552, allocations: 104.5 kB / 447.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.2553, allocations: 205 kB / 447.3 MB, free: 3.754 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.2557, allocations: 353 kB / 447.6 MB, free: 3.367 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2557, allocations: 3.938 kB / 447.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005763/0.2563, allocations: 429.6 kB / 448.1 MB, free: 2.934 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.2563, allocations: 8.406 kB / 448.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.2563, allocations: 8 kB / 448.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003462/0.2567, allocations: 80.86 kB / 448.2 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.2569, allocations: 59.91 kB / 448.2 MB, free: 2.777 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.2583, allocations: 2.009 MB / 450.2 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.2585, allocations: 15.98 kB / 450.2 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.2585, allocations: 15.94 kB / 450.3 MB, free: 0.5977 MB / 318.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 (29): * Single equations (assignments): 28 * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.2586, allocations: 177.6 kB / 450.4 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.2587, allocations: 19.75 kB / 450.5 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005616/0.2593, allocations: 384.1 kB / 450.8 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2593, allocations: 4 kB / 450.8 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.2593, allocations: 4 kB / 450.8 MB, free: 0 / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2593, allocations: 112 / 450.8 MB, free: 0 / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.2607, allocations: 0.9218 MB / 451.8 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.2607, allocations: 3.938 kB / 451.8 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.2609, allocations: 39.86 kB / 451.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002429/0.2611, allocations: 76.97 kB / 451.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.2612, allocations: 4 kB / 451.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001699/0.2629, allocations: 1.9 MB / 453.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.2629, allocations: 4.031 kB / 453.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006486/0.2635, allocations: 467 kB / 454.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.2636, allocations: 92.92 kB / 454.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.2637, allocations: 8 kB / 454.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.2638, allocations: 11.98 kB / 454.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.2638, allocations: 23.91 kB / 454.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.2639, allocations: 12 kB / 454.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.264, allocations: 148.4 kB / 454.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.264, allocations: 0 / 454.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004574/0.2645, allocations: 84 kB / 454.6 MB, free: 11.96 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 20 * 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 {(2,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001089/0.2646, allocations: 111.1 kB / 454.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006968/0.2653, allocations: 431 kB / 455.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2653, allocations: 3.938 kB / 455.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004203/0.2657, allocations: 282.3 kB / 455.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.2661, allocations: 36.28 kB / 455.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009705/0.2671, allocations: 0.6046 MB / 456.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.2675, allocations: 0.8065 MB / 456.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.2676, allocations: 54.05 kB / 456.9 MB, free: 9.547 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.976e-05/0.2677, allocations: 23.42 kB / 456.9 MB, free: 9.523 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2677, allocations: 0 / 456.9 MB, free: 9.523 MB / 334.1 MB Notification: Performance of Templates: time 0.005864/0.2736, allocations: 2.96 MB / 459.9 MB, free: 6.57 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)