Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr iPSL_iPSL.Examples.Machines.PSAT.Order6test2.conf.json Using package iPSL with version 1.1.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(iPSL.Examples.Machines.PSAT.Order6test2,fileNamePrefix="iPSL_iPSL_Examples_Machines_PSAT_Order6test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01641/0.01641, allocations: 165.6 kB / 15.11 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.686/1.686, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002038/0.002038, allocations: 102.5 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/iPSL 1.1.1/package.mo): time 0.5468/0.5468, allocations: 50.22 MB / 315.8 MB, free: 34.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005535/0.0005536, allocations: 16 kB / 376.9 MB, free: 7.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1084, allocations: 50.51 MB / 427.4 MB, free: 4.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4194/0.5279, allocations: 75.66 MB / 0.4913 GB, free: 9.734 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.5282, allocations: 67.97 kB / 0.4914 GB, free: 9.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07621/0.6044, allocations: 16.63 MB / 0.5076 GB, free: 9.062 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6045, allocations: 0 / 0.5076 GB, free: 9.062 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.462e-05/0.6045, allocations: 16 kB / 0.5076 GB, free: 9.047 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.007966/0.6125, allocations: 1.604 MB / 0.5092 GB, free: 7.395 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.6126, allocations: 12.03 kB / 0.5092 GB, free: 7.383 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004661/0.6131, allocations: 110.5 kB / 0.5093 GB, free: 7.266 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004755/0.6178, allocations: 486.3 kB / 0.5098 GB, free: 6.789 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.6196, allocations: 0.5961 MB / 0.5104 GB, free: 6.152 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003733/0.62, allocations: 218.5 kB / 0.5106 GB, free: 5.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002716/0.6203, allocations: 71.83 kB / 0.5106 GB, free: 5.844 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003806/0.6241, allocations: 0.9951 MB / 0.5116 GB, free: 4.844 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.6242, allocations: 4 kB / 0.5116 GB, free: 4.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/0.6244, allocations: 24 kB / 0.5116 GB, free: 4.816 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.6244, allocations: 20 kB / 0.5116 GB, free: 4.797 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003997/0.6284, allocations: 0.9877 MB / 0.5126 GB, free: 3.805 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01025/0.6387, allocations: 3.285 MB / 0.5158 GB, free: 368 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003768/0.6425, allocations: 0.888 MB / 0.5167 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000256/0.6428, allocations: 16.55 kB / 0.5167 GB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.6429, allocations: 47.22 kB / 0.5167 GB, free: 15.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 3.396e-06/0.6429, allocations: 0 / 0.5167 GB, free: 15.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=79): time 0.05667/0.6996, allocations: 7.94 MB / 0.5245 GB, free: 7.414 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/0.6997, allocations: 60.06 kB / 0.5246 GB, free: 7.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.7017, allocations: 0.5685 MB / 0.5251 GB, free: 6.773 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000322/0.702, allocations: 37.7 kB / 0.5252 GB, free: 6.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005001/0.7026, allocations: 368.2 kB / 0.5255 GB, free: 6.367 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006434/0.7032, allocations: 279.9 kB / 0.5258 GB, free: 6.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.7034, allocations: 12 kB / 0.5258 GB, free: 6.078 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000296/0.7038, allocations: 382.8 kB / 0.5261 GB, free: 5.695 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003489/0.7073, allocations: 0.6071 MB / 0.5267 GB, free: 5.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00342/0.7107, allocations: 0.7015 MB / 0.5274 GB, free: 4.355 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003496/0.7142, allocations: 0.6473 MB / 0.5281 GB, free: 3.711 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.7143, allocations: 7.938 kB / 0.5281 GB, free: 3.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.03635/0.7506, allocations: 4.639 MB / 0.5326 GB, free: 15.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/0.7507, allocations: 8 kB / 0.5326 GB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.7508, allocations: 0 / 0.5326 GB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01723/0.768, allocations: 2.109 MB / 0.5347 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.7695, allocations: 103.8 kB / 0.5348 GB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04635/0.8158, allocations: 9.948 MB / 0.5445 GB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/0.818, allocations: 159.2 kB / 0.5446 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/0.8182, allocations: 28 kB / 0.5447 GB, free: 2.555 MB / 394.7 MB Warning: Assuming fixed start value for the following 4 variables: order6Type2_1.e2d:VARIABLE(start = order6Type2_1.e2d0 fixed = true ) "d-axis sub-transient voltage" type: Real order6Type2_1.e2q:VARIABLE(start = order6Type2_1.e2q0 fixed = true ) "q-axis sub-transient voltage" type: Real order6Type2_1.e1d:VARIABLE(start = order6Type2_1.e1d0 fixed = true ) "d-axis transient voltage" type: Real order6Type2_1.e1q:VARIABLE(start = order6Type2_1.e1q0 fixed = true ) "q-axis transient voltage" 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 () * Number of clocked 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.0006936/0.8189, allocations: 204.3 kB / 0.5448 GB, free: 2.348 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003559/0.8193, allocations: 82.95 kB / 0.5449 GB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02709/0.8464, allocations: 4.666 MB / 0.5495 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/0.8465, allocations: 15.89 kB / 0.5495 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.8465, allocations: 0 / 0.5495 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-05/0.8465, allocations: 7.969 kB / 0.5495 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.8488, allocations: 1.076 MB / 0.5506 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.8488, allocations: 0 / 0.5506 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009749/0.8498, allocations: 83.89 kB / 0.5506 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01201/0.8618, allocations: 2.029 MB / 0.5526 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000228/0.8621, allocations: 16 kB / 0.5526 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03789/0.9, allocations: 8.619 MB / 0.5611 GB, free: 1.547 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.9, allocations: 0 / 0.5611 GB, free: 1.547 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03555/0.9356, allocations: 5.552 MB / 0.5665 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/0.936, allocations: 176 kB / 0.5666 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002263/0.9363, allocations: 16 kB / 0.5667 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/0.9381, allocations: 111.9 kB / 0.5668 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009257/0.9391, allocations: 184.7 kB / 0.5669 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/0.9392, allocations: 19.98 kB / 0.567 GB, free: 11.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000947/0.9402, allocations: 463.1 kB / 0.5674 GB, free: 11.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.9402, allocations: 0 / 0.5674 GB, free: 11.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001557/0.9418, allocations: 355.4 kB / 0.5677 GB, free: 10.66 MB / 426.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 () * Number of clocked 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.03031/0.9721, allocations: 6.144 MB / 0.5737 GB, free: 4.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01198/0.9841, allocations: 2.388 MB / 0.5761 GB, free: 2.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.9842, allocations: 0 / 0.5761 GB, free: 2.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009118/0.9933, allocations: 1.662 MB / 0.5777 GB, free: 424 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006955/0.994, allocations: 62.92 kB / 0.5778 GB, free: 360 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04092/1.035, allocations: 10.56 MB / 0.5881 GB, free: 5.695 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008257/1.036, allocations: 0.9897 MB / 0.589 GB, free: 4.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006442/1.037, allocations: 60.94 kB / 0.5891 GB, free: 4.617 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000742/1.037, allocations: 295.3 kB / 0.5894 GB, free: 4.328 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/1.037, allocations: 4 kB / 0.5894 GB, free: 4.324 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3518/1.389, allocations: 25.25 MB / 0.614 GB, free: 127.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/1.389, allocations: 181.2 kB / 0.6142 GB, free: 127 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.459/4.848, allocations: 1.031 kB / 0.6142 GB, free: 127 MB / 442.7 MB