Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001532/0.001532, allocations: 184.2 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 103.9 kB / 267.1 MB, free: 9.277 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.2907/0.2907, allocations: 37.97 MB / 353.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.791e-05/2.807e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 56.32 MB / 473.1 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.509/0.6108, allocations: 94.6 MB / 0.5544 GB, free: 9.129 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/0.6112, allocations: 83.95 kB / 0.5545 GB, free: 9.047 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05852/0.6697, allocations: 14.21 MB / 0.5684 GB, free: 10.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6698, allocations: 0 / 0.5684 GB, free: 10.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.968e-05/0.6698, allocations: 4 kB / 0.5684 GB, free: 10.68 MB / 410.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.0008845/0.6707, allocations: 494.1 kB / 0.5689 GB, free: 10.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.6708, allocations: 8.031 kB / 0.5689 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.6721, allocations: 107.5 kB / 0.569 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000559/0.6727, allocations: 259.4 kB / 0.5692 GB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.6728, allocations: 12 kB / 0.5692 GB, free: 9.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.808e-05/0.6728, allocations: 19.98 kB / 0.5692 GB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007318/0.6736, allocations: 317.6 kB / 0.5696 GB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.6736, allocations: 0 / 0.5696 GB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.897e-05/0.6737, allocations: 7.984 kB / 0.5696 GB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001453/0.6738, allocations: 19.98 kB / 0.5696 GB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007204/0.6746, allocations: 283.7 kB / 0.5698 GB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002713/0.6773, allocations: 1.275 MB / 0.5711 GB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007294/0.6781, allocations: 237 kB / 0.5713 GB, free: 7.457 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.6784, allocations: 101.7 kB / 0.5714 GB, free: 7.352 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.6784, allocations: 3.938 kB / 0.5714 GB, free: 7.348 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.6785, allocations: 34.56 kB / 0.5715 GB, free: 7.305 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.886e-06/0.6785, allocations: 0 / 0.5715 GB, free: 7.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001115/0.6796, allocations: 357.9 kB / 0.5718 GB, free: 6.949 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.6797, allocations: 85.14 kB / 0.5719 GB, free: 6.848 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.68, allocations: 177.5 kB / 0.572 GB, free: 6.664 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.68, allocations: 29.7 kB / 0.5721 GB, free: 6.629 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.6802, allocations: 214.3 kB / 0.5723 GB, free: 6.418 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.669e-05/0.6803, allocations: 63.09 kB / 0.5723 GB, free: 6.355 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.875e-05/0.6803, allocations: 4 kB / 0.5723 GB, free: 6.352 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6804, allocations: 322.8 kB / 0.5727 GB, free: 6.027 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.6807, allocations: 76.45 kB / 0.5727 GB, free: 5.949 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.6809, allocations: 157.4 kB / 0.5729 GB, free: 5.766 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.6812, allocations: 107.9 kB / 0.573 GB, free: 5.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.6813, allocations: 0 / 0.573 GB, free: 5.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000689/0.682, allocations: 285.3 kB / 0.5732 GB, free: 5.375 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.682, allocations: 8.031 kB / 0.5733 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.682, allocations: 4 kB / 0.5733 GB, free: 5.363 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.6821, allocations: 8 kB / 0.5733 GB, free: 5.355 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004815/0.6825, allocations: 55.89 kB / 0.5733 GB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.275e-05/0.6826, allocations: 4 kB / 0.5733 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.6829, allocations: 15.98 kB / 0.5733 GB, free: 5.281 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.683, allocations: 12 kB / 0.5734 GB, free: 5.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * 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.0001133/0.6831, allocations: 116.9 kB / 0.5735 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/0.6832, allocations: 23.77 kB / 0.5735 GB, free: 5.125 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000627/0.6838, allocations: 227.1 kB / 0.5737 GB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.6838, allocations: 0 / 0.5737 GB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.6838, allocations: 4 kB / 0.5737 GB, free: 4.891 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.6839, allocations: 3.984 kB / 0.5737 GB, free: 4.887 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002133/0.686, allocations: 0.9518 MB / 0.5746 GB, free: 3.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/0.6861, allocations: 4 kB / 0.5746 GB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.6863, allocations: 39.92 kB / 0.5747 GB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/0.6864, allocations: 11.88 kB / 0.5747 GB, free: 3.777 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.6864, allocations: 8 kB / 0.5747 GB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.19e-05/0.6864, allocations: 11.89 kB / 0.5747 GB, free: 3.758 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-05/0.6865, allocations: 7.984 kB / 0.5747 GB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008136/0.6873, allocations: 0.5891 MB / 0.5753 GB, free: 3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.6874, allocations: 100.9 kB / 0.5754 GB, free: 2.883 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/0.6875, allocations: 4 kB / 0.5754 GB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.6878, allocations: 15.98 kB / 0.5754 GB, free: 2.863 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.426e-05/0.6878, allocations: 27.88 kB / 0.5754 GB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.6879, allocations: 12 kB / 0.5754 GB, free: 2.824 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002053/0.6881, allocations: 147 kB / 0.5756 GB, free: 2.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6881, allocations: 0 / 0.5756 GB, free: 2.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005276/0.6887, allocations: 63.94 kB / 0.5757 GB, free: 2.617 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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.00018/0.6888, allocations: 111.6 kB / 0.5758 GB, free: 2.496 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005499/0.6894, allocations: 211.7 kB / 0.576 GB, free: 2.289 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6894, allocations: 0 / 0.576 GB, free: 2.289 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.6897, allocations: 97.2 kB / 0.5761 GB, free: 2.195 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.6901, allocations: 40.16 kB / 0.5761 GB, free: 2.152 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.6914, allocations: 482 kB / 0.5765 GB, free: 1.602 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.6918, allocations: 0.7636 MB / 0.5773 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.692, allocations: 27.44 kB / 0.5773 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of SimCode: time 1.302e-06/0.692, allocations: 4 kB / 0.5773 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of Templates: time 0.006796/0.6988, allocations: 2.591 MB / 0.5799 GB, free: 14.19 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1)