Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.0008708/0.0008708, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.288/1.288, allocations: 223.3 MB / 239 MB, free: 5.652 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.0009808/0.000981, allocations: 172.5 kB / 290.3 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4772/0.4772, allocations: 91.94 MB / 433.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003587, allocations: 12 kB / 0.5042 GB, free: 7.699 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3167, allocations: 72.47 MB / 0.5749 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.004022/0.3208, allocations: 5.984 MB / 0.5808 GB, free: 33.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.3231, allocations: 1.836 MB / 0.5826 GB, free: 31.9 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003398/0.3234, allocations: 14.19 kB / 0.5826 GB, free: 31.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.3237, allocations: 160.9 kB / 0.5827 GB, free: 31.83 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.3248, allocations: 0.5942 MB / 0.5833 GB, free: 31.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008682/0.3256, allocations: 0.5239 MB / 0.5838 GB, free: 31.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008542/0.3265, allocations: 1.289 MB / 0.5851 GB, free: 30.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003144/0.3268, allocations: 265.9 kB / 0.5853 GB, free: 30.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003811/0.3272, allocations: 0.5023 MB / 0.5858 GB, free: 30.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004988/0.3277, allocations: 0.6378 MB / 0.5865 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.676e-05/0.3278, allocations: 50.16 kB / 0.5865 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003017/0.3281, allocations: 187.2 kB / 0.5867 GB, free: 29.85 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.3283, allocations: 214.4 kB / 0.5869 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.3284, allocations: 221 kB / 0.5871 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006578/0.3291, allocations: 1.098 MB / 0.5882 GB, free: 29.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3291, allocations: 0 / 0.5882 GB, free: 29.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.3291, allocations: 0 / 0.5882 GB, free: 29.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.3291, allocations: 0 / 0.5882 GB, free: 29.24 MB / 430.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.00621/0.3353, allocations: 2.403 MB / 0.5905 GB, free: 28.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.3354, allocations: 9.219 kB / 0.5905 GB, free: 28.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00454/0.3399, allocations: 0.7903 MB / 0.5913 GB, free: 28.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008605/0.3408, allocations: 0.7223 MB / 0.592 GB, free: 27.53 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/0.341, allocations: 274.1 kB / 0.5923 GB, free: 27.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.3411, allocations: 83.19 kB / 0.5923 GB, free: 27.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/0.3433, allocations: 1.163 MB / 0.5935 GB, free: 26.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.3433, allocations: 4 kB / 0.5935 GB, free: 26.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.147e-05/0.3434, allocations: 35.12 kB / 0.5935 GB, free: 26.85 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.3434, allocations: 22.7 kB / 0.5935 GB, free: 26.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/0.3457, allocations: 1.231 MB / 0.5947 GB, free: 26.49 MB / 430.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.005008/0.3507, allocations: 3.566 MB / 0.5982 GB, free: 24.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/0.3526, allocations: 1.523 MB / 0.5997 GB, free: 23.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.3542, allocations: 0.8687 MB / 0.6006 GB, free: 23.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.3543, allocations: 17.02 kB / 0.6006 GB, free: 23.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.3544, allocations: 47.31 kB / 0.6006 GB, free: 23.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 2.786e-06/0.3544, allocations: 0 / 0.6006 GB, free: 23.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02499/0.3794, allocations: 8.49 MB / 0.6089 GB, free: 21.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.3794, allocations: 61.09 kB / 0.609 GB, free: 21.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.3805, allocations: 0.8845 MB / 0.6098 GB, free: 21.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.956e-05/0.3806, allocations: 45.7 kB / 0.6099 GB, free: 21.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.3809, allocations: 489 kB / 0.6103 GB, free: 20.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.3811, allocations: 356.2 kB / 0.6107 GB, free: 20.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.849e-05/0.3812, allocations: 20.31 kB / 0.6107 GB, free: 20.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.833e-05/0.3813, allocations: 351.8 kB / 0.611 GB, free: 20.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.3829, allocations: 0.8208 MB / 0.6118 GB, free: 19.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/0.3846, allocations: 0.9446 MB / 0.6128 GB, free: 19.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.3862, allocations: 0.871 MB / 0.6136 GB, free: 19.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3862, allocations: 1.344 kB / 0.6136 GB, free: 19.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01287/0.3991, allocations: 5.253 MB / 0.6187 GB, free: 16.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3991, allocations: 11.94 kB / 0.6188 GB, free: 16.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3991, allocations: 4 kB / 0.6188 GB, free: 16.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005298/0.4044, allocations: 2.085 MB / 0.6208 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009185/0.4054, allocations: 239.6 kB / 0.621 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01716/0.4226, allocations: 9.518 MB / 0.6303 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.424, allocations: 226.9 kB / 0.6305 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.4242, allocations: 39.98 kB / 0.6306 GB, free: 4.484 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (115): * Single equations (assignments): 114 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0004881/0.4247, allocations: 237.7 kB / 0.6308 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002362/0.425, allocations: 118.5 kB / 0.6309 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.4367, allocations: 4.959 MB / 0.6358 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.4367, allocations: 8 kB / 0.6358 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4367, allocations: 0 / 0.6358 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-05/0.4367, allocations: 3.984 kB / 0.6358 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01491/0.4517, allocations: 6.567 MB / 0.6422 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.4517, allocations: 0 / 0.6422 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006491/0.4523, allocations: 151.8 kB / 0.6423 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005693/0.458, allocations: 2.046 MB / 0.6443 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.557e-05/0.4582, allocations: 16 kB / 0.6443 GB, free: 6.215 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01683/0.475, allocations: 8.195 MB / 0.6523 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.475, allocations: 3.984 kB / 0.6523 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01512/0.4902, allocations: 5.986 MB / 0.6582 GB, free: 7.867 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004249/0.4906, allocations: 211.4 kB / 0.6584 GB, free: 7.641 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/0.4909, allocations: 20 kB / 0.6584 GB, free: 7.621 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.492, allocations: 151.9 kB / 0.6586 GB, free: 7.473 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006954/0.4927, allocations: 216.6 kB / 0.6588 GB, free: 7.262 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.706e-05/0.4928, allocations: 27.98 kB / 0.6588 GB, free: 7.234 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008297/0.4936, allocations: 0.5813 MB / 0.6594 GB, free: 6.645 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4936, allocations: 4 kB / 0.6594 GB, free: 6.641 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001506/0.4952, allocations: 447.4 kB / 0.6598 GB, free: 6.203 MB / 462.1 MB 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 (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.0002816/0.4954, allocations: 135.1 kB / 0.6599 GB, free: 6.062 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006794/0.5022, allocations: 2.779 MB / 0.6626 GB, free: 3.27 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5023, allocations: 4 kB / 0.6626 GB, free: 3.266 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004577/0.5069, allocations: 1.804 MB / 0.6644 GB, free: 1.449 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009089/0.5078, allocations: 88.42 kB / 0.6645 GB, free: 1.363 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/0.5117, allocations: 2.419 MB / 0.6668 GB, free: 14.92 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006714/0.5124, allocations: 1.095 MB / 0.6679 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003781/0.5128, allocations: 90.75 kB / 0.668 GB, free: 13.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.513, allocations: 63.42 kB / 0.6681 GB, free: 13.64 MB / 478.1 MB Notification: Performance of SimCode: time 8.92e-07/0.5131, allocations: 0 / 0.6681 GB, free: 13.64 MB / 478.1 MB Notification: Performance of Templates: time 0.03099/0.5441, allocations: 20.01 MB / 0.6876 GB, free: 9.652 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)