Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001115/0.001115, allocations: 181.7 kB / 13.64 MB, free: 1.676 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.549/1.549, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001539/0.001539, allocations: 116.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1759/0.1759, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/2.994e-05, allocations: 4 kB / 397.5 MB, free: 1.043 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2466, allocations: 53.22 MB / 450.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1146/0.3613, allocations: 88.93 MB / 0.527 GB, free: 4.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.3616, allocations: 83.95 kB / 0.5271 GB, free: 4.348 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2586/0.6202, allocations: 13.14 MB / 0.5399 GB, free: 86.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6202, allocations: 0.5938 kB / 0.5399 GB, free: 86.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.369e-05/0.6202, allocations: 7.938 kB / 0.5399 GB, free: 86.07 MB / 378.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.0007171/0.621, allocations: 482.4 kB / 0.5404 GB, free: 85.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.621, allocations: 9.062 kB / 0.5404 GB, free: 85.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009283/0.622, allocations: 98.83 kB / 0.5405 GB, free: 85.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.6224, allocations: 265.8 kB / 0.5408 GB, free: 85.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.6224, allocations: 11.64 kB / 0.5408 GB, free: 85.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.078e-05/0.6225, allocations: 17.25 kB / 0.5408 GB, free: 85.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005561/0.623, allocations: 306.4 kB / 0.5411 GB, free: 85.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.6231, allocations: 5.312 kB / 0.5411 GB, free: 85.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.6231, allocations: 10.98 kB / 0.5411 GB, free: 85.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.31e-05/0.6232, allocations: 27.36 kB / 0.5411 GB, free: 85.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004842/0.6237, allocations: 270.6 kB / 0.5414 GB, free: 84.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.6254, allocations: 1.29 MB / 0.5426 GB, free: 83.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/0.6257, allocations: 226.1 kB / 0.5429 GB, free: 83.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.492e-05/0.6258, allocations: 52.7 kB / 0.5429 GB, free: 83.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.6259, allocations: 1.172 kB / 0.5429 GB, free: 83.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.6259, allocations: 34.28 kB / 0.5429 GB, free: 83.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/0.6259, allocations: 0 / 0.5429 GB, free: 83.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004871/0.6264, allocations: 230.3 kB / 0.5432 GB, free: 83.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.6264, allocations: 85.08 kB / 0.5432 GB, free: 83.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.6266, allocations: 179 kB / 0.5434 GB, free: 83.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.6266, allocations: 25.7 kB / 0.5434 GB, free: 83.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.6267, allocations: 162.7 kB / 0.5436 GB, free: 83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.225e-05/0.6267, allocations: 48 kB / 0.5436 GB, free: 82.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/0.6267, allocations: 2.906 kB / 0.5436 GB, free: 82.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.702e-05/0.6268, allocations: 330 kB / 0.544 GB, free: 82.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.348e-05/0.6268, allocations: 41.42 kB / 0.544 GB, free: 82.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.629e-05/0.627, allocations: 148.3 kB / 0.5441 GB, free: 82.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.063e-05/0.627, allocations: 70.75 kB / 0.5442 GB, free: 82.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.6271, allocations: 3.938 kB / 0.5442 GB, free: 82.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002517/0.6273, allocations: 213.6 kB / 0.5444 GB, free: 82.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.6273, allocations: 7.906 kB / 0.5444 GB, free: 82.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.6274, allocations: 3.5 kB / 0.5444 GB, free: 82.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.6274, allocations: 10.47 kB / 0.5444 GB, free: 82.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.6275, allocations: 46.19 kB / 0.5445 GB, free: 82.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.6276, allocations: 5.719 kB / 0.5445 GB, free: 82.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.6277, allocations: 11.12 kB / 0.5445 GB, free: 82.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.6277, allocations: 9.219 kB / 0.5445 GB, free: 82.29 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.902e-05/0.6278, allocations: 124.2 kB / 0.5446 GB, free: 82.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.6278, allocations: 25.19 kB / 0.5446 GB, free: 82.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.6281, allocations: 149.8 kB / 0.5448 GB, free: 82.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.6281, allocations: 7.594 kB / 0.5448 GB, free: 82.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6281, allocations: 0 / 0.5448 GB, free: 82.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.6281, allocations: 0 / 0.5448 GB, free: 82.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006414/0.6287, allocations: 0.6533 MB / 0.5454 GB, free: 81.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.6288, allocations: 7.516 kB / 0.5454 GB, free: 81.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.015e-05/0.6289, allocations: 27.08 kB / 0.5455 GB, free: 81.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.6289, allocations: 7.875 kB / 0.5455 GB, free: 81.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.6289, allocations: 7.438 kB / 0.5455 GB, free: 81.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.6289, allocations: 7.875 kB / 0.5455 GB, free: 81.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6289, allocations: 3.5 kB / 0.5455 GB, free: 81.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.6292, allocations: 499.2 kB / 0.546 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.6292, allocations: 98.84 kB / 0.5461 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.6292, allocations: 7.594 kB / 0.5461 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.6294, allocations: 3.938 kB / 0.5461 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.6294, allocations: 22.91 kB / 0.5461 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.6294, allocations: 15 kB / 0.5461 GB, free: 80.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.646e-05/0.6295, allocations: 135 kB / 0.5462 GB, free: 80.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.6295, allocations: 0 / 0.5462 GB, free: 80.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003314/0.6298, allocations: 55.31 kB / 0.5463 GB, free: 80.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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.0001321/0.63, allocations: 105.8 kB / 0.5464 GB, free: 80.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.6302, allocations: 133.3 kB / 0.5465 GB, free: 80.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6302, allocations: 0 / 0.5465 GB, free: 80.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.524e-05/0.6303, allocations: 61.02 kB / 0.5466 GB, free: 80.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.6306, allocations: 32.94 kB / 0.5466 GB, free: 80.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005671/0.6312, allocations: 372 kB / 0.547 GB, free: 80.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.6314, allocations: 0.7642 MB / 0.5477 GB, free: 79.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001161/0.6315, allocations: 38.89 kB / 0.5477 GB, free: 79.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.6316, allocations: 18.62 kB / 0.5478 GB, free: 79.37 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.6316, allocations: 0 / 0.5478 GB, free: 79.37 MB / 378.7 MB Notification: Performance of Templates: time 0.003485/0.6351, allocations: 1.228 MB / 0.549 GB, free: 78.77 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)