Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002107/0.002107, allocations: 185.7 kB / 13.19 MB, free: 2.125 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.965/1.965, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001594/0.001594, allocations: 95.84 kB / 267.1 MB, free: 9.281 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.2631/0.2631, allocations: 37.98 MB / 353.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.827e-05/2.84e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1005, allocations: 56.31 MB / 473.1 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4709/0.5715, allocations: 99.43 MB / 0.5591 GB, free: 4.312 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003485/0.5719, allocations: 87.95 kB / 0.5592 GB, free: 4.227 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04931/0.6212, allocations: 11.41 MB / 0.5704 GB, free: 8.688 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6213, allocations: 0 / 0.5704 GB, free: 8.688 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.447e-05/0.6213, allocations: 15.98 kB / 0.5704 GB, free: 8.672 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.00155/0.6229, allocations: 0.6253 MB / 0.571 GB, free: 8.004 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.623, allocations: 8.031 kB / 0.571 GB, free: 7.996 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.6231, allocations: 51.39 kB / 0.571 GB, free: 7.945 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001942/0.6251, allocations: 0.5571 MB / 0.5716 GB, free: 7.352 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.6253, allocations: 54.48 kB / 0.5716 GB, free: 7.289 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.6254, allocations: 36 kB / 0.5717 GB, free: 7.254 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009843/0.6264, allocations: 423 kB / 0.5721 GB, free: 6.797 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.6264, allocations: 0 / 0.5721 GB, free: 6.797 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.565e-05/0.6265, allocations: 16 kB / 0.5721 GB, free: 6.781 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.6265, allocations: 8 kB / 0.5721 GB, free: 6.773 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006849/0.6272, allocations: 262 kB / 0.5724 GB, free: 6.516 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003362/0.6306, allocations: 1.865 MB / 0.5742 GB, free: 4.527 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.631, allocations: 171.6 kB / 0.5743 GB, free: 4.332 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.6312, allocations: 77.81 kB / 0.5744 GB, free: 4.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.6313, allocations: 7.938 kB / 0.5744 GB, free: 4.242 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.6313, allocations: 34.56 kB / 0.5745 GB, free: 4.199 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 3.055e-06/0.6313, allocations: 0 / 0.5745 GB, free: 4.199 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.001535/0.6329, allocations: 0.6428 MB / 0.5751 GB, free: 3.504 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.633, allocations: 102.9 kB / 0.5752 GB, free: 3.379 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004591/0.6334, allocations: 286.6 kB / 0.5755 GB, free: 3.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.6335, allocations: 25.7 kB / 0.5755 GB, free: 3.059 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.6337, allocations: 298 kB / 0.5758 GB, free: 2.762 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.197e-05/0.6338, allocations: 67.09 kB / 0.5758 GB, free: 2.695 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/0.6338, allocations: 8 kB / 0.5758 GB, free: 2.688 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.634, allocations: 322.8 kB / 0.5761 GB, free: 2.363 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.6342, allocations: 64.66 kB / 0.5762 GB, free: 2.297 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.6345, allocations: 197.7 kB / 0.5764 GB, free: 2.043 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.6348, allocations: 104.8 kB / 0.5765 GB, free: 1.941 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.6348, allocations: 0 / 0.5765 GB, free: 1.941 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007274/0.6355, allocations: 299.8 kB / 0.5768 GB, free: 1.645 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.6356, allocations: 11.95 kB / 0.5768 GB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.6356, allocations: 4 kB / 0.5768 GB, free: 1.629 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.6356, allocations: 4 kB / 0.5768 GB, free: 1.625 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/0.6363, allocations: 79.89 kB / 0.5769 GB, free: 1.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.6363, allocations: 12.44 kB / 0.5769 GB, free: 1.535 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/0.6367, allocations: 16 kB / 0.5769 GB, free: 1.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.6367, allocations: 19.98 kB / 0.5769 GB, free: 1.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 40 * 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.0001237/0.6369, allocations: 120.9 kB / 0.577 GB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.677e-05/0.637, allocations: 35.61 kB / 0.5771 GB, free: 1.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005206/0.6375, allocations: 196.5 kB / 0.5773 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.6375, allocations: 0 / 0.5773 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.6375, allocations: 7.938 kB / 0.5773 GB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.6376, allocations: 7.984 kB / 0.5773 GB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.6388, allocations: 0.6161 MB / 0.5779 GB, free: 460 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.6389, allocations: 4 kB / 0.5779 GB, free: 456 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004808/0.6394, allocations: 43.91 kB / 0.5779 GB, free: 412 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.6394, allocations: 0 / 0.5779 GB, free: 412 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.6394, allocations: 8 kB / 0.5779 GB, free: 404 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.6394, allocations: 4 kB / 0.5779 GB, free: 400 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6395, allocations: 4.031 kB / 0.5779 GB, free: 396 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007582/0.6402, allocations: 469.1 kB / 0.5784 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.6404, allocations: 108.8 kB / 0.5785 GB, free: 15.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.13e-05/0.6404, allocations: 11.94 kB / 0.5785 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000319/0.6408, allocations: 8 kB / 0.5785 GB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.6409, allocations: 19.88 kB / 0.5785 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.6409, allocations: 8 kB / 0.5785 GB, free: 15.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003392/0.6412, allocations: 218.2 kB / 0.5787 GB, free: 15.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6413, allocations: 0 / 0.5787 GB, free: 15.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000599/0.6419, allocations: 72 kB / 0.5788 GB, free: 15.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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.000222/0.6421, allocations: 127 kB / 0.5789 GB, free: 15.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005144/0.6426, allocations: 179.8 kB / 0.5791 GB, free: 15.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.6427, allocations: 4 kB / 0.5791 GB, free: 15.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.6429, allocations: 75.86 kB / 0.5792 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000785/0.6437, allocations: 87.23 kB / 0.5793 GB, free: 14.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.6457, allocations: 0.7151 MB / 0.58 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/0.6462, allocations: 0.8226 MB / 0.5808 GB, free: 13.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.6464, allocations: 31.42 kB / 0.5808 GB, free: 13.33 MB / 426.7 MB Notification: Performance of SimCode: time 1.223e-06/0.6464, allocations: 0 / 0.5808 GB, free: 13.33 MB / 426.7 MB Notification: Performance of Templates: time 0.01149/0.6579, allocations: 4.594 MB / 0.5853 GB, free: 8.734 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1)