Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order6test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo", uses=false) Using package iPSL with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(iPSL.Examples.Machines.PSAT.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order6test2") translateModel(iPSL.Examples.Machines.PSAT.Order6test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="iPSL_iPSL.Examples.Machines.PSAT.Order6test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009431/0.000943, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.505/1.505, allocations: 170.7 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001533/0.001533, allocations: 107.5 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.2084/0.2084, allocations: 50.07 MB / 307.2 MB, free: 13.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.375e-05/1.376e-05, allocations: 4 kB / 363.9 MB, free: 24.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09582/0.09585, allocations: 50.51 MB / 414.4 MB, free: 6.184 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3696/0.4655, allocations: 74.9 MB / 489.3 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.4657, allocations: 70.61 kB / 489.4 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03861/0.5043, allocations: 16.3 MB / 0.4938 GB, free: 6.305 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.5044, allocations: 0 / 0.4938 GB, free: 6.305 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.707e-05/0.5044, allocations: 15.53 kB / 0.4938 GB, free: 6.305 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.00412/0.5086, allocations: 1.416 MB / 0.4952 GB, free: 5.453 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.5086, allocations: 7.656 kB / 0.4952 GB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002803/0.5114, allocations: 475 kB / 0.4957 GB, free: 5.289 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.5126, allocations: 0.5888 MB / 0.4962 GB, free: 4.945 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.5128, allocations: 193.1 kB / 0.4964 GB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002078/0.513, allocations: 41.31 kB / 0.4965 GB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001391/0.5144, allocations: 0.7477 MB / 0.4972 GB, free: 4.742 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.5158, allocations: 0.7095 MB / 0.4979 GB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.5158, allocations: 7.953 kB / 0.4979 GB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-05/0.5159, allocations: 0 / 0.4979 GB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.516, allocations: 15.53 kB / 0.4979 GB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005438/0.5214, allocations: 3.166 MB / 0.501 GB, free: 2.949 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.5225, allocations: 0.6682 MB / 0.5017 GB, free: 2.891 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006225/0.5232, allocations: 0.5053 MB / 0.5022 GB, free: 2.879 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.5233, allocations: 8.469 kB / 0.5022 GB, free: 2.879 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.5233, allocations: 49.39 kB / 0.5022 GB, free: 2.832 MB / 330.7 MB Notification: Performance of pre-optimization done (n=79): time 2.255e-06/0.5233, allocations: 0 / 0.5022 GB, free: 2.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=79): time 0.01094/0.5343, allocations: 3.907 MB / 0.506 GB, free: 1.688 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.5344, allocations: 60.73 kB / 0.5061 GB, free: 1.617 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008294/0.5352, allocations: 0.5137 MB / 0.5066 GB, free: 1.238 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001854/0.5354, allocations: 25.7 kB / 0.5066 GB, free: 1.207 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.5356, allocations: 361.2 kB / 0.507 GB, free: 0.9648 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003258/0.5359, allocations: 273.5 kB / 0.5072 GB, free: 0.7266 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.969e-05/0.536, allocations: 0 / 0.5072 GB, free: 0.7266 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5362, allocations: 383 kB / 0.5076 GB, free: 384 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006064/0.5368, allocations: 399.6 kB / 0.508 GB, free: 180 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006815/0.5375, allocations: 494.2 kB / 0.5084 GB, free: 15.87 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008348/0.5383, allocations: 484.2 kB / 0.5089 GB, free: 15.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.5383, allocations: 0 / 0.5089 GB, free: 15.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01196/0.5503, allocations: 4.016 MB / 0.5128 GB, free: 12.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.5504, allocations: 4 kB / 0.5128 GB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.5504, allocations: 4 kB / 0.5128 GB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005516/0.5559, allocations: 1.71 MB / 0.5145 GB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000678/0.5566, allocations: 94.97 kB / 0.5146 GB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01423/0.5709, allocations: 7.026 MB / 0.5214 GB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.5722, allocations: 143.2 kB / 0.5216 GB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/0.5724, allocations: 23.98 kB / 0.5216 GB, free: 4.875 MB / 346.7 MB Warning: Assuming fixed start value for the following 4 variables: order6Type2_1.e2d:VARIABLE(start = order6Type2_1.e2d0 ) "d-axis sub-transient voltage" type: Real order6Type2_1.e2q:VARIABLE(start = order6Type2_1.e2q0 ) "q-axis sub-transient voltage" type: Real order6Type2_1.e1d:VARIABLE(start = order6Type2_1.e1d0 ) "d-axis transient voltage" type: Real order6Type2_1.e1q:VARIABLE(start = order6Type2_1.e1q0 ) "q-axis transient voltage" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pwLine1.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine2.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine1.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine2.ir.re:VARIABLE() "Real part of complex number" type: Real pwLinewithOpening1.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLinewithOpening1.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine4.ir.im:VARIABLE() "Imaginary part of complex number" type: Real pwLinewithOpening1.is.re:VARIABLE() "Real part of complex number" type: Real pwLine4.is.re:VARIABLE() "Real part of complex number" type: Real pwLine4.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLinewithOpening1.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine4.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine1.is.re:VARIABLE() "Real part of complex number" type: Real pwLine1.is.im:VARIABLE() "Imaginary part of complex number" type: Real pwLine3.ir.re:VARIABLE() "Real part of complex number" type: Real pwLine3.ir.im:VARIABLE() "Imaginary part of complex number" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {27 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004228/0.5728, allocations: 146.4 kB / 0.5217 GB, free: 4.727 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/0.5731, allocations: 75.06 kB / 0.5218 GB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/0.5853, allocations: 4.052 MB / 0.5258 GB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.5853, allocations: 11.94 kB / 0.5258 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5854, allocations: 0 / 0.5258 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-05/0.5854, allocations: 7.984 kB / 0.5258 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.587, allocations: 0.9694 MB / 0.5267 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.587, allocations: 0 / 0.5267 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005778/0.5876, allocations: 83.84 kB / 0.5268 GB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005089/0.5927, allocations: 1.644 MB / 0.5284 GB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/0.5929, allocations: 8 kB / 0.5284 GB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01224/0.6051, allocations: 6.151 MB / 0.5344 GB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.6052, allocations: 7.938 kB / 0.5344 GB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/0.6184, allocations: 4.729 MB / 0.5391 GB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003415/0.6188, allocations: 180 kB / 0.5392 GB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002911/0.6191, allocations: 3.953 kB / 0.5392 GB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.6203, allocations: 99.91 kB / 0.5393 GB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006269/0.621, allocations: 192.4 kB / 0.5395 GB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/0.6211, allocations: 16 kB / 0.5395 GB, free: 2.305 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006399/0.6218, allocations: 406.9 kB / 0.5399 GB, free: 1.906 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6218, allocations: 0 / 0.5399 GB, free: 1.906 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001472/0.6233, allocations: 323.5 kB / 0.5402 GB, free: 1.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (order6Type2_1.delta,order6Type2_1.w,order6Type2_1.e1q,order6Type2_1.e1d,order6Type2_1.e2q,order6Type2_1.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003352/0.6236, allocations: 128.5 kB / 0.5404 GB, free: 1.461 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005129/0.6287, allocations: 1.897 MB / 0.5422 GB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.6288, allocations: 0 / 0.5422 GB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004209/0.633, allocations: 1.415 MB / 0.5436 GB, free: 14.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006286/0.6336, allocations: 46.08 kB / 0.5436 GB, free: 14.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002806/0.6365, allocations: 1.146 MB / 0.5448 GB, free: 12.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006076/0.6371, allocations: 0.9976 MB / 0.5457 GB, free: 11.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000384/0.6375, allocations: 68.84 kB / 0.5458 GB, free: 11.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/0.6377, allocations: 51.36 kB / 0.5458 GB, free: 11.77 MB / 378.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6378, allocations: 0 / 0.5458 GB, free: 11.77 MB / 378.7 MB Notification: Performance of Templates: time 0.02923/0.667, allocations: 17.37 MB / 0.5628 GB, free: 10.41 MB / 394.7 MB make -j1 -f iPSL_iPSL.Examples.Machines.PSAT.Order6test2.makefile (rm -f iPSL_iPSL.Examples.Machines.PSAT.Order6test2.pipe ; mkfifo iPSL_iPSL.Examples.Machines.PSAT.Order6test2.pipe ; head -c 1048576 < iPSL_iPSL.Examples.Machines.PSAT.Order6test2.pipe >> ../files/iPSL_iPSL.Examples.Machines.PSAT.Order6test2.sim & ./iPSL_iPSL.Examples.Machines.PSAT.Order6test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > iPSL_iPSL.Examples.Machines.PSAT.Order6test2.pipe 2>&1)