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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009795/0.0009795, allocations: 180.8 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.165/1.165, allocations: 194.5 MB / 211.6 MB, free: 3.035 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001612/0.001612, allocations: 119.3 kB / 256.9 MB, free: 4.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1891/0.1891, allocations: 37.99 MB / 340 MB, free: 1.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003517, allocations: 16 kB / 403.8 MB, free: 68.79 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07981/0.08017, allocations: 53.22 MB / 457 MB, free: 15.55 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2873/0.3675, allocations: 89.01 MB / 0.5332 GB, free: 6.641 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.3678, allocations: 84.45 kB / 0.5333 GB, free: 6.598 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0284/0.3962, allocations: 13.18 MB / 0.5462 GB, free: 11.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3963, allocations: 7.938 kB / 0.5462 GB, free: 11.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.3963, allocations: 4 kB / 0.5462 GB, free: 11.66 MB / 362.7 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.000672/0.397, allocations: 0.4935 MB / 0.5467 GB, free: 11.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.397, allocations: 12.02 kB / 0.5467 GB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008311/0.3979, allocations: 99.67 kB / 0.5468 GB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.3982, allocations: 263.8 kB / 0.547 GB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3982, allocations: 15.12 kB / 0.547 GB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.3983, allocations: 15.62 kB / 0.547 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.3987, allocations: 317.3 kB / 0.5473 GB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3987, allocations: 4 kB / 0.5474 GB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.3988, allocations: 6.891 kB / 0.5474 GB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-05/0.3989, allocations: 22.98 kB / 0.5474 GB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003737/0.3992, allocations: 277.2 kB / 0.5476 GB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.4008, allocations: 1.299 MB / 0.5489 GB, free: 9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.4011, allocations: 162.1 kB / 0.5491 GB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.4012, allocations: 4.062 kB / 0.5491 GB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.4012, allocations: 41.92 kB / 0.5491 GB, free: 8.809 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.184e-06/0.4012, allocations: 224 / 0.5491 GB, free: 8.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008946/0.4021, allocations: 419.1 kB / 0.5495 GB, free: 8.434 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.4022, allocations: 86.06 kB / 0.5496 GB, free: 8.332 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.4023, allocations: 178.7 kB / 0.5498 GB, free: 8.168 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.4024, allocations: 27.89 kB / 0.5498 GB, free: 8.137 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.564e-05/0.4025, allocations: 165.8 kB / 0.5499 GB, free: 7.988 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.4025, allocations: 45.86 kB / 0.55 GB, free: 7.949 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.4025, allocations: 3.062 kB / 0.55 GB, free: 7.949 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.4026, allocations: 325.8 kB / 0.5503 GB, free: 7.629 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.4028, allocations: 50.78 kB / 0.5504 GB, free: 7.594 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.4029, allocations: 148 kB / 0.5505 GB, free: 7.426 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.403, allocations: 80.53 kB / 0.5506 GB, free: 7.371 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.403, allocations: 3.938 kB / 0.5506 GB, free: 7.367 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004268/0.4035, allocations: 251.1 kB / 0.5508 GB, free: 7.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.4035, allocations: 8 kB / 0.5508 GB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4035, allocations: 4 kB / 0.5508 GB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/0.4037, allocations: 41.58 kB / 0.5509 GB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.4039, allocations: 49.81 kB / 0.5509 GB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.405, allocations: 1.354 MB / 0.5522 GB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.4051, allocations: 10.84 kB / 0.5522 GB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.4051, allocations: 13.42 kB / 0.5523 GB, free: 5.621 MB / 362.7 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.0001465/0.4053, allocations: 154.8 kB / 0.5524 GB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.4053, allocations: 21.11 kB / 0.5524 GB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.4057, allocations: 184.3 kB / 0.5526 GB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.4057, allocations: 8 kB / 0.5526 GB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.4057, allocations: 3.938 kB / 0.5526 GB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4057, allocations: 0 / 0.5526 GB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007413/0.4065, allocations: 0.5481 MB / 0.5532 GB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4065, allocations: 8.094 kB / 0.5532 GB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.656e-05/0.4066, allocations: 22.98 kB / 0.5532 GB, free: 4.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001673/0.4067, allocations: 35.95 kB / 0.5532 GB, free: 4.695 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.4068, allocations: 2.938 kB / 0.5532 GB, free: 4.695 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008739/0.4076, allocations: 1.326 MB / 0.5545 GB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4077, allocations: 4 kB / 0.5545 GB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.408, allocations: 340.7 kB / 0.5548 GB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.955e-05/0.4081, allocations: 96.91 kB / 0.5549 GB, free: 2.828 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.4081, allocations: 7.312 kB / 0.5549 GB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.4082, allocations: 4 kB / 0.5549 GB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.4083, allocations: 19.17 kB / 0.555 GB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.4083, allocations: 4 kB / 0.555 GB, free: 2.801 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.4084, allocations: 135.4 kB / 0.5551 GB, free: 2.684 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4084, allocations: 0 / 0.5551 GB, free: 2.684 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003577/0.4088, allocations: 58.89 kB / 0.5552 GB, free: 2.633 MB / 362.7 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.0001251/0.4089, allocations: 118.7 kB / 0.5553 GB, free: 2.512 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004462/0.4093, allocations: 269.4 kB / 0.5555 GB, free: 2.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4094, allocations: 0.875 kB / 0.5555 GB, free: 2.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.4096, allocations: 176.5 kB / 0.5557 GB, free: 2.098 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.4098, allocations: 27.38 kB / 0.5557 GB, free: 2.078 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007471/0.4106, allocations: 0.5163 MB / 0.5562 GB, free: 1.559 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.4109, allocations: 0.762 MB / 0.557 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.411, allocations: 41.5 kB / 0.557 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.444e-05/0.4111, allocations: 19.44 kB / 0.557 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4111, allocations: 0 / 0.557 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of Templates: time 0.003929/0.415, allocations: 1.543 MB / 0.5585 GB, free: 15.19 MB / 378.7 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)