Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 107.8 kB / 16.46 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 242.8 MB, free: 3.871 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 191.4 kB / 295.8 MB, free: 4.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3642/0.3642, allocations: 79.74 MB / 428.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002548/0.002548, allocations: 83.81 kB / 0.5711 GB, free: 10.38 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3557, allocations: 72.08 MB / 0.6415 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.008025/0.3637, allocations: 6.513 MB / 0.6478 GB, free: 8.156 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004313/0.368, allocations: 1.864 MB / 0.6497 GB, free: 6.289 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000936/0.3689, allocations: 16 kB / 0.6497 GB, free: 6.273 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006912/0.3696, allocations: 226 kB / 0.6499 GB, free: 6.051 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.3719, allocations: 0.7823 MB / 0.6506 GB, free: 5.27 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001484/0.3734, allocations: 0.603 MB / 0.6512 GB, free: 4.672 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002046/0.3754, allocations: 1.429 MB / 0.6526 GB, free: 3.238 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004666/0.3759, allocations: 236.3 kB / 0.6529 GB, free: 2.996 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009988/0.3769, allocations: 0.5796 MB / 0.6534 GB, free: 2.414 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009248/0.3778, allocations: 0.7427 MB / 0.6541 GB, free: 1.668 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.3779, allocations: 100 kB / 0.6542 GB, free: 1.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005229/0.3785, allocations: 247.8 kB / 0.6545 GB, free: 1.328 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.3787, allocations: 278.8 kB / 0.6547 GB, free: 1.055 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006107/0.3793, allocations: 0.6213 MB / 0.6554 GB, free: 440 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00209/0.3814, allocations: 1.533 MB / 0.6569 GB, free: 14.9 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.3814, allocations: 0 / 0.6569 GB, free: 14.9 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3814, allocations: 0 / 0.6569 GB, free: 14.9 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.885e-05/0.3815, allocations: 4 kB / 0.6569 GB, free: 14.89 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.009144/0.3906, allocations: 2.601 MB / 0.6594 GB, free: 12.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.3907, allocations: 16.02 kB / 0.6594 GB, free: 12.22 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005058/0.3957, allocations: 0.7835 MB / 0.6602 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/0.3974, allocations: 0.7851 MB / 0.6609 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003571/0.3978, allocations: 260.2 kB / 0.6612 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.3979, allocations: 79.95 kB / 0.6613 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/0.4005, allocations: 1.081 MB / 0.6623 GB, free: 9.141 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.4005, allocations: 7.875 kB / 0.6623 GB, free: 9.133 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.881e-05/0.4006, allocations: 31.98 kB / 0.6624 GB, free: 9.102 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.4007, allocations: 20 kB / 0.6624 GB, free: 9.082 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002712/0.4034, allocations: 1.12 MB / 0.6635 GB, free: 7.957 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006729/0.4101, allocations: 3.449 MB / 0.6668 GB, free: 4.355 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002449/0.4125, allocations: 1.351 MB / 0.6682 GB, free: 2.895 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001767/0.4143, allocations: 0.6992 MB / 0.6688 GB, free: 2.191 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.4144, allocations: 20.98 kB / 0.6689 GB, free: 2.168 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/0.4145, allocations: 39.56 kB / 0.6689 GB, free: 2.121 MB / 462.1 MB Notification: Performance of pre-optimization done (n=98): time 4.288e-06/0.4145, allocations: 0 / 0.6689 GB, free: 2.121 MB / 462.1 MB Notification: Performance of matching and sorting (n=98): time 0.02769/0.4422, allocations: 6.583 MB / 0.6753 GB, free: 11.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.4422, allocations: 60.41 kB / 0.6754 GB, free: 11.43 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.4437, allocations: 0.8961 MB / 0.6763 GB, free: 10.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002571/0.4439, allocations: 45.7 kB / 0.6763 GB, free: 10.46 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004709/0.4444, allocations: 0.4936 MB / 0.6768 GB, free: 9.965 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004945/0.4449, allocations: 368.8 kB / 0.6771 GB, free: 9.602 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004606/0.4453, allocations: 206.9 kB / 0.6773 GB, free: 9.391 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.4455, allocations: 353.9 kB / 0.6777 GB, free: 9.039 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/0.4474, allocations: 0.7287 MB / 0.6784 GB, free: 8.312 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002014/0.4494, allocations: 0.8618 MB / 0.6792 GB, free: 7.418 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02022/0.4696, allocations: 4.854 MB / 0.684 GB, free: 2.531 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.4696, allocations: 0 / 0.684 GB, free: 2.531 MB / 478.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.0148/0.4844, allocations: 4.254 MB / 0.6881 GB, free: 14.26 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.4844, allocations: 6.656 kB / 0.6881 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.4845, allocations: 4 kB / 0.6881 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006444/0.4909, allocations: 1.725 MB / 0.6898 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.4922, allocations: 227.7 kB / 0.69 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02326/0.5154, allocations: 9.066 MB / 0.6989 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.5171, allocations: 175.3 kB / 0.6991 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/0.5172, allocations: 39.98 kB / 0.6991 GB, free: 2.867 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (117): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005323/0.5177, allocations: 252.5 kB / 0.6993 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/0.518, allocations: 127.1 kB / 0.6995 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/0.5319, allocations: 3.975 MB / 0.7033 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.5319, allocations: 8 kB / 0.7033 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5319, allocations: 0 / 0.7033 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.813e-05/0.5319, allocations: 7.984 kB / 0.7034 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/0.5483, allocations: 5.575 MB / 0.7088 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/0.5483, allocations: 0 / 0.7088 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008441/0.5491, allocations: 127.9 kB / 0.7089 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006272/0.5554, allocations: 1.745 MB / 0.7106 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002223/0.5556, allocations: 23.98 kB / 0.7106 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01995/0.5756, allocations: 8.053 MB / 0.7185 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5756, allocations: 4 kB / 0.7185 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01649/0.5921, allocations: 4.929 MB / 0.7233 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000447/0.5925, allocations: 212.1 kB / 0.7235 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003872/0.5929, allocations: 16 kB / 0.7235 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/0.5942, allocations: 111.9 kB / 0.7237 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008511/0.5951, allocations: 224.6 kB / 0.7239 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/0.5952, allocations: 20 kB / 0.7239 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009936/0.5962, allocations: 0.6008 MB / 0.7245 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5962, allocations: 0 / 0.7245 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001707/0.5979, allocations: 443.6 kB / 0.7249 GB, free: 8.09 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003796/0.5983, allocations: 135.1 kB / 0.725 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007586/0.6059, allocations: 2.361 MB / 0.7273 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.6059, allocations: 0 / 0.7273 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005431/0.6113, allocations: 1.546 MB / 0.7288 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.6125, allocations: 92.36 kB / 0.7289 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004969/0.6175, allocations: 2.103 MB / 0.731 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009417/0.6185, allocations: 1.107 MB / 0.7321 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004308/0.6189, allocations: 67.42 kB / 0.7321 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of SimCode: time 1.242e-06/0.6189, allocations: 0 / 0.7321 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of Templates: time 0.03301/0.6519, allocations: 20.3 MB / 0.7519 GB, free: 12.25 MB / 0.545 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)