Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002191/0.00219, allocations: 185.7 kB / 8.01 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.296/2.296, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 86.64 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2768/0.2768, allocations: 38 MB / 347.7 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.653e-05/2.654e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 56.33 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4807/0.6205, allocations: 93.24 MB / 0.5463 GB, free: 11.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.6208, allocations: 85.22 kB / 0.5464 GB, free: 11.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04976/0.6706, allocations: 13.1 MB / 0.5592 GB, free: 5.676 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6706, allocations: 0 / 0.5592 GB, free: 5.676 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.6707, allocations: 3.688 kB / 0.5592 GB, free: 5.676 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.0007395/0.6714, allocations: 474.3 kB / 0.5596 GB, free: 5.242 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.6715, allocations: 15.61 kB / 0.5597 GB, free: 5.238 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.6727, allocations: 102 kB / 0.5598 GB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004717/0.6732, allocations: 266 kB / 0.56 GB, free: 4.949 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.6733, allocations: 7.594 kB / 0.56 GB, free: 4.949 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.473e-05/0.6733, allocations: 11.66 kB / 0.56 GB, free: 4.949 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004572/0.6738, allocations: 187.7 kB / 0.5602 GB, free: 4.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.6743, allocations: 282.6 kB / 0.5605 GB, free: 4.797 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.6744, allocations: 3.906 kB / 0.5605 GB, free: 4.793 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/0.6744, allocations: 3.875 kB / 0.5605 GB, free: 4.793 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001267/0.6745, allocations: 22.27 kB / 0.5605 GB, free: 4.789 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003127/0.6777, allocations: 1.243 MB / 0.5617 GB, free: 3.691 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006411/0.6784, allocations: 220.6 kB / 0.5619 GB, free: 3.469 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.6785, allocations: 48.33 kB / 0.562 GB, free: 3.426 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.111e-05/0.6786, allocations: 3.359 kB / 0.562 GB, free: 3.426 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.6787, allocations: 46.06 kB / 0.562 GB, free: 3.375 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 4.649e-06/0.6787, allocations: 0 / 0.562 GB, free: 3.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009931/0.6797, allocations: 219 kB / 0.5622 GB, free: 3.184 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.6798, allocations: 85.05 kB / 0.5623 GB, free: 3.082 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.68, allocations: 154 kB / 0.5625 GB, free: 2.941 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.6801, allocations: 29.64 kB / 0.5625 GB, free: 2.906 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.6802, allocations: 231.5 kB / 0.5627 GB, free: 2.691 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.282e-05/0.6803, allocations: 50.23 kB / 0.5628 GB, free: 2.648 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.464e-05/0.6803, allocations: 0 / 0.5628 GB, free: 2.648 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.139e-05/0.6804, allocations: 313.8 kB / 0.5631 GB, free: 2.336 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.6806, allocations: 39.92 kB / 0.5631 GB, free: 2.309 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.6808, allocations: 132.2 kB / 0.5632 GB, free: 2.152 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.681, allocations: 64.72 kB / 0.5633 GB, free: 2.105 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.681, allocations: 0 / 0.5633 GB, free: 2.105 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006/0.6816, allocations: 192.6 kB / 0.5635 GB, free: 1.938 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.6817, allocations: 8 kB / 0.5635 GB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.6817, allocations: 4 kB / 0.5635 GB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.274e-05/0.6818, allocations: 4 kB / 0.5635 GB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004182/0.6822, allocations: 47.3 kB / 0.5635 GB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/0.6823, allocations: 7.984 kB / 0.5635 GB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003043/0.6826, allocations: 4 kB / 0.5635 GB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.6826, allocations: 8 kB / 0.5635 GB, free: 1.859 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 () * 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 0.0001229/0.6828, allocations: 117 kB / 0.5637 GB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.75e-05/0.6829, allocations: 23.39 kB / 0.5637 GB, free: 1.719 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/0.6834, allocations: 125 kB / 0.5638 GB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.6834, allocations: 4 kB / 0.5638 GB, free: 1.613 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.6835, allocations: 0 / 0.5638 GB, free: 1.613 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.6835, allocations: 3.984 kB / 0.5638 GB, free: 1.609 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.6851, allocations: 0.5903 MB / 0.5644 GB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.6852, allocations: 8.094 kB / 0.5644 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.6854, allocations: 35.73 kB / 0.5644 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/0.6855, allocations: 4 kB / 0.5644 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.6855, allocations: 4 kB / 0.5644 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/0.6856, allocations: 4 kB / 0.5644 GB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/0.6856, allocations: 7.938 kB / 0.5644 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006224/0.6862, allocations: 487 kB / 0.5649 GB, free: 380 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.6863, allocations: 96.91 kB / 0.565 GB, free: 264 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.375e-05/0.6864, allocations: 11.52 kB / 0.565 GB, free: 256 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.6868, allocations: 8 kB / 0.565 GB, free: 248 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.6869, allocations: 15.92 kB / 0.565 GB, free: 232 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/0.6869, allocations: 7.375 kB / 0.565 GB, free: 228 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001756/0.6871, allocations: 134.7 kB / 0.5652 GB, free: 108 kB / 362.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.6871, allocations: 0 / 0.5652 GB, free: 108 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.000895/0.6881, allocations: 47.94 kB / 0.5652 GB, free: 60 kB / 362.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.000248/0.6883, allocations: 107.2 kB / 0.5653 GB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005316/0.6889, allocations: 118 kB / 0.5654 GB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.6889, allocations: 0 / 0.5654 GB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002245/0.6892, allocations: 67.59 kB / 0.5655 GB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006991/0.6899, allocations: 28 kB / 0.5655 GB, free: 15.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.6914, allocations: 385.1 kB / 0.5659 GB, free: 15.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007555/0.6922, allocations: 0.7624 MB / 0.5666 GB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.6924, allocations: 23.06 kB / 0.5667 GB, free: 14.57 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/0.6924, allocations: 0 / 0.5667 GB, free: 14.57 MB / 378.7 MB Notification: Performance of Templates: time 0.009247/0.7016, allocations: 2.152 MB / 0.5688 GB, free: 12.44 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)