Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001918/0.001918, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.517/1.517, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00162/0.00162, allocations: 115.3 kB / 248.1 MB, free: 6.34 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1849/0.1849, allocations: 37.92 MB / 330.9 MB, free: 7.316 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.482e-05/1.486e-05, allocations: 0 / 390.4 MB, free: 78.25 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07529/0.07532, allocations: 53.25 MB / 443.6 MB, free: 25.11 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3297/0.405, allocations: 93.59 MB / 0.5246 GB, free: 9.859 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.4053, allocations: 94.7 kB / 0.5247 GB, free: 9.848 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02632/0.4316, allocations: 11.23 MB / 0.5357 GB, free: 4.492 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4317, allocations: 448 / 0.5357 GB, free: 4.492 MB / 347.1 MB Notification: Performance of Transformations before backend: time 2.92e-05/0.4317, allocations: 15.94 kB / 0.5357 GB, free: 4.477 MB / 347.1 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.0008971/0.4326, allocations: 0.62 MB / 0.5363 GB, free: 3.836 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.4327, allocations: 12.03 kB / 0.5363 GB, free: 3.824 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.4328, allocations: 43.44 kB / 0.5363 GB, free: 3.781 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009924/0.4338, allocations: 0.553 MB / 0.5369 GB, free: 3.293 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.479e-05/0.4339, allocations: 46.42 kB / 0.5369 GB, free: 3.242 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.998e-05/0.434, allocations: 23.12 kB / 0.5369 GB, free: 3.223 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003871/0.4344, allocations: 218.4 kB / 0.5371 GB, free: 3.09 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004725/0.4348, allocations: 380.8 kB / 0.5375 GB, free: 2.758 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.4349, allocations: 0.75 kB / 0.5375 GB, free: 2.758 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.255e-05/0.4349, allocations: 15.94 kB / 0.5375 GB, free: 2.742 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.4349, allocations: 8 kB / 0.5375 GB, free: 2.734 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.4367, allocations: 1.786 MB / 0.5393 GB, free: 1.094 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.4368, allocations: 157.6 kB / 0.5394 GB, free: 0.9531 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.745e-05/0.4369, allocations: 65.19 kB / 0.5395 GB, free: 0.8984 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.437, allocations: 7.938 kB / 0.5395 GB, free: 0.8906 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.437, allocations: 42.45 kB / 0.5395 GB, free: 0.8398 MB / 347.1 MB Notification: Performance of pre-optimization done (n=18): time 1.863e-06/0.437, allocations: 0 / 0.5395 GB, free: 0.8398 MB / 347.1 MB Notification: Performance of matching and sorting (n=20): time 0.001002/0.438, allocations: 0.7889 MB / 0.5403 GB, free: 48 kB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.4381, allocations: 106.9 kB / 0.5404 GB, free: 15.92 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.4383, allocations: 247 kB / 0.5406 GB, free: 15.71 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.4384, allocations: 25.7 kB / 0.5407 GB, free: 15.68 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.4385, allocations: 240.1 kB / 0.5409 GB, free: 15.48 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.981e-05/0.4386, allocations: 73.38 kB / 0.541 GB, free: 15.42 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/0.4386, allocations: 0 / 0.541 GB, free: 15.42 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.4387, allocations: 339.9 kB / 0.5413 GB, free: 15.09 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.4388, allocations: 60.06 kB / 0.5414 GB, free: 15.05 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.439, allocations: 194.9 kB / 0.5415 GB, free: 14.84 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.4392, allocations: 95.78 kB / 0.5416 GB, free: 14.77 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.4392, allocations: 4 kB / 0.5416 GB, free: 14.77 MB / 363.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004284/0.4396, allocations: 288.6 kB / 0.5419 GB, free: 14.53 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.4396, allocations: 8 kB / 0.5419 GB, free: 14.52 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.4396, allocations: 4 kB / 0.5419 GB, free: 14.52 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.4397, allocations: 8 kB / 0.5419 GB, free: 14.51 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.44, allocations: 79.22 kB / 0.542 GB, free: 14.44 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.44, allocations: 11.98 kB / 0.542 GB, free: 14.43 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.4402, allocations: 12.19 kB / 0.542 GB, free: 14.41 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.4403, allocations: 19.44 kB / 0.542 GB, free: 14.4 MB / 363.1 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 (41): * Single equations (assignments): 41 * 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 9.733e-05/0.4404, allocations: 112.9 kB / 0.5422 GB, free: 14.28 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/0.4404, allocations: 31.58 kB / 0.5422 GB, free: 14.25 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.4407, allocations: 172.6 kB / 0.5423 GB, free: 14.12 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.4408, allocations: 7.984 kB / 0.5424 GB, free: 14.11 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.4408, allocations: 0 / 0.5424 GB, free: 14.11 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.4408, allocations: 4 kB / 0.5424 GB, free: 14.11 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007415/0.4415, allocations: 0.5551 MB / 0.5429 GB, free: 13.61 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.4416, allocations: 4 kB / 0.5429 GB, free: 13.61 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002643/0.4418, allocations: 48.98 kB / 0.5429 GB, free: 13.57 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4418, allocations: 0 / 0.5429 GB, free: 13.57 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.4419, allocations: 4 kB / 0.543 GB, free: 13.56 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.4419, allocations: 3.984 kB / 0.543 GB, free: 13.56 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4419, allocations: 4 kB / 0.543 GB, free: 13.55 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004884/0.4424, allocations: 464.2 kB / 0.5434 GB, free: 13.13 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.111e-05/0.4425, allocations: 104.7 kB / 0.5435 GB, free: 13.01 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.242e-05/0.4425, allocations: 8 kB / 0.5435 GB, free: 13 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.4427, allocations: 8.031 kB / 0.5435 GB, free: 12.99 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.4428, allocations: 15.56 kB / 0.5435 GB, free: 12.98 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.4428, allocations: 8 kB / 0.5435 GB, free: 12.97 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.443, allocations: 186.5 kB / 0.5437 GB, free: 12.82 MB / 363.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.443, allocations: 0 / 0.5437 GB, free: 12.82 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.000453/0.4434, allocations: 68 kB / 0.5438 GB, free: 12.76 MB / 363.1 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.motor.phi_el,machine.motor.w_el) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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.000179/0.4436, allocations: 118.9 kB / 0.5439 GB, free: 12.64 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.0002773/0.4439, allocations: 170.7 kB / 0.5441 GB, free: 12.52 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.4439, allocations: 8.062 kB / 0.5441 GB, free: 12.51 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.444, allocations: 71.05 kB / 0.5441 GB, free: 12.46 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.4445, allocations: 66.36 kB / 0.5442 GB, free: 12.41 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.4457, allocations: 0.673 MB / 0.5449 GB, free: 11.75 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.4462, allocations: 0.8294 MB / 0.5457 GB, free: 10.91 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0003117/0.4465, allocations: 47.25 kB / 0.5457 GB, free: 10.86 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.445e-05/0.4466, allocations: 27.44 kB / 0.5457 GB, free: 10.84 MB / 363.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4466, allocations: 0 / 0.5457 GB, free: 10.84 MB / 363.1 MB Notification: Performance of Templates: time 0.006538/0.4532, allocations: 2.732 MB / 0.5484 GB, free: 8.137 MB / 363.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.pipe 2>&1)