Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06745/0.06745, allocations: 12.2 MB / 27.16 MB, free: 116 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 102.1 kB / 30.66 MB, free: 6.43 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.4 MB / 239.5 MB, free: 10.64 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.001052/0.001052, allocations: 181.1 kB / 290.6 MB, free: 8.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4181/0.4181, allocations: 78.5 MB / 420.1 MB, free: 6.605 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008084/0.0008084, allocations: 33.59 kB / 0.4894 GB, free: 37.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1221, allocations: 69.25 MB / 0.557 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005545/0.1277, allocations: 5.7 MB / 0.5626 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003779/0.1315, allocations: 1.828 MB / 0.5644 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007324/0.1322, allocations: 16 kB / 0.5644 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004661/0.1327, allocations: 158.7 kB / 0.5645 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.1342, allocations: 0.6539 MB / 0.5652 GB, free: 484 kB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001146/0.1354, allocations: 0.5222 MB / 0.5657 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.1365, allocations: 0.9169 MB / 0.5666 GB, free: 15.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003752/0.1369, allocations: 265.7 kB / 0.5668 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005335/0.1375, allocations: 0.5057 MB / 0.5673 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006201/0.1381, allocations: 0.6261 MB / 0.5679 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.423e-05/0.1382, allocations: 52 kB / 0.568 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003717/0.1386, allocations: 159.9 kB / 0.5681 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.1388, allocations: 223 kB / 0.5683 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.139, allocations: 225 kB / 0.5686 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009509/0.1399, allocations: 1.048 MB / 0.5696 GB, free: 11.92 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.14, allocations: 0 / 0.5696 GB, free: 11.92 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.14, allocations: 3.938 kB / 0.5696 GB, free: 11.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.14, allocations: 0 / 0.5696 GB, free: 11.92 MB / 398.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.007224/0.1472, allocations: 2.412 MB / 0.5719 GB, free: 9.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.1473, allocations: 11.98 kB / 0.572 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004967/0.1522, allocations: 0.7827 MB / 0.5727 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.1535, allocations: 0.7266 MB / 0.5734 GB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002883/0.1539, allocations: 276 kB / 0.5737 GB, free: 7.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.154, allocations: 80 kB / 0.5738 GB, free: 7.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.1563, allocations: 1.159 MB / 0.5749 GB, free: 6.324 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.1563, allocations: 0 / 0.5749 GB, free: 6.324 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-05/0.1564, allocations: 28 kB / 0.5749 GB, free: 6.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.1565, allocations: 24 kB / 0.575 GB, free: 6.273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/0.1589, allocations: 1.234 MB / 0.5762 GB, free: 5.039 MB / 398.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.005682/0.1646, allocations: 3.634 MB / 0.5797 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/0.1667, allocations: 1.518 MB / 0.5812 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-05/0.1668, allocations: 16.98 kB / 0.5812 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.1669, allocations: 39.56 kB / 0.5812 GB, free: 15.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 2.755e-06/0.1669, allocations: 0 / 0.5812 GB, free: 15.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=98): time 0.02581/0.1927, allocations: 8.177 MB / 0.5892 GB, free: 7.316 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.1928, allocations: 60.41 kB / 0.5893 GB, free: 7.246 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.1939, allocations: 0.8806 MB / 0.5901 GB, free: 6.348 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001995/0.1941, allocations: 45.7 kB / 0.5902 GB, free: 6.297 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/0.1944, allocations: 496.7 kB / 0.5907 GB, free: 5.805 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003566/0.1948, allocations: 347 kB / 0.591 GB, free: 5.461 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.814e-05/0.1949, allocations: 20 kB / 0.591 GB, free: 5.441 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.195, allocations: 361.9 kB / 0.5914 GB, free: 5.082 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/0.1968, allocations: 0.8185 MB / 0.5922 GB, free: 4.266 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.1985, allocations: 0.9438 MB / 0.5931 GB, free: 3.289 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/0.2003, allocations: 0.8705 MB / 0.5939 GB, free: 2.418 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.2003, allocations: 3.938 kB / 0.5939 GB, free: 2.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01436/0.2147, allocations: 5.249 MB / 0.5991 GB, free: 13.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.2147, allocations: 11.98 kB / 0.5991 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.2147, allocations: 4 kB / 0.5991 GB, free: 13.13 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006465/0.2212, allocations: 2.092 MB / 0.6011 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.2224, allocations: 231.7 kB / 0.6013 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02224/0.2446, allocations: 9.964 MB / 0.6111 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.2464, allocations: 219 kB / 0.6113 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002455/0.2467, allocations: 39.98 kB / 0.6113 GB, free: 464 kB / 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.0007093/0.2474, allocations: 257.3 kB / 0.6116 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003309/0.2477, allocations: 118.5 kB / 0.6117 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01359/0.2613, allocations: 4.948 MB / 0.6165 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.2614, allocations: 12 kB / 0.6165 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2614, allocations: 3.938 kB / 0.6165 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/0.2614, allocations: 3.984 kB / 0.6165 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01653/0.278, allocations: 6.544 MB / 0.6229 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/0.278, allocations: 0 / 0.6229 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007863/0.2788, allocations: 147.8 kB / 0.6231 GB, free: 4.262 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006162/0.285, allocations: 2.061 MB / 0.6251 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002309/0.2853, allocations: 16 kB / 0.6251 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01908/0.3044, allocations: 8.625 MB / 0.6335 GB, free: 9.418 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.3044, allocations: 3.984 kB / 0.6335 GB, free: 9.414 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01638/0.3208, allocations: 5.982 MB / 0.6394 GB, free: 3.406 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005592/0.3214, allocations: 211.3 kB / 0.6396 GB, free: 3.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004318/0.3219, allocations: 20 kB / 0.6396 GB, free: 3.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/0.3233, allocations: 156 kB / 0.6397 GB, free: 3.008 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008432/0.3242, allocations: 224.5 kB / 0.6399 GB, free: 2.789 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/0.3244, allocations: 27.98 kB / 0.64 GB, free: 2.762 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009488/0.3253, allocations: 0.5852 MB / 0.6405 GB, free: 2.168 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3253, allocations: 0 / 0.6405 GB, free: 2.168 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001713/0.327, allocations: 439.5 kB / 0.641 GB, free: 1.738 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.0003756/0.3274, allocations: 134.3 kB / 0.6411 GB, free: 1.598 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007093/0.3345, allocations: 2.779 MB / 0.6438 GB, free: 14.81 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3346, allocations: 4 kB / 0.6438 GB, free: 14.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004923/0.3395, allocations: 1.798 MB / 0.6456 GB, free: 12.99 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007719/0.3403, allocations: 72.42 kB / 0.6456 GB, free: 12.92 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004393/0.3447, allocations: 2.458 MB / 0.648 GB, free: 10.44 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000863/0.3456, allocations: 1.119 MB / 0.6491 GB, free: 9.293 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004331/0.346, allocations: 94.69 kB / 0.6492 GB, free: 9.195 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.3463, allocations: 63.42 kB / 0.6493 GB, free: 9.133 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3463, allocations: 0 / 0.6493 GB, free: 9.133 MB / 478.1 MB Notification: Performance of Templates: time 0.2513/0.5976, allocations: 19.96 MB / 0.6688 GB, free: 93.96 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) Environment - environmentSimulation: