Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07157/0.07157, allocations: 12.21 MB / 27.16 MB, free: 112 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.0009073/0.0009074, allocations: 111.1 kB / 30.67 MB, free: 6.414 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.329/1.329, allocations: 205.4 MB / 239.5 MB, free: 10.67 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.001141/0.001141, allocations: 181.1 kB / 290.6 MB, free: 8.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3825/0.3825, allocations: 78.49 MB / 420.1 MB, free: 6.574 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.0008628/0.0008628, allocations: 26.34 kB / 0.4894 GB, free: 37.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1062, allocations: 69.23 MB / 0.557 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004822/0.1111, allocations: 5.109 MB / 0.562 GB, free: 3.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.1141, allocations: 1.698 MB / 0.5636 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004572/0.1146, allocations: 8 kB / 0.5637 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004151/0.115, allocations: 150.9 kB / 0.5638 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.1165, allocations: 0.6228 MB / 0.5644 GB, free: 1.207 MB / 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.001043/0.1175, allocations: 494.8 kB / 0.5649 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009544/0.1185, allocations: 0.8185 MB / 0.5657 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003173/0.1188, allocations: 219.2 kB / 0.5659 GB, free: 15.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004779/0.1193, allocations: 466.1 kB / 0.5663 GB, free: 15.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005865/0.1199, allocations: 0.5562 MB / 0.5669 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.068e-05/0.12, allocations: 48 kB / 0.5669 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003427/0.1203, allocations: 159.8 kB / 0.5671 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.1205, allocations: 187.2 kB / 0.5673 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.1207, allocations: 197.1 kB / 0.5674 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000888/0.1216, allocations: 0.9508 MB / 0.5684 GB, free: 13.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.1216, allocations: 0 / 0.5684 GB, free: 13.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1216, allocations: 4 kB / 0.5684 GB, free: 13.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.1216, allocations: 4 kB / 0.5684 GB, free: 13.12 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.006731/0.1283, allocations: 2.193 MB / 0.5705 GB, free: 10.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1284, allocations: 11.98 kB / 0.5705 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004755/0.1332, allocations: 0.7751 MB / 0.5713 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.1342, allocations: 0.6667 MB / 0.5719 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002715/0.1345, allocations: 272.1 kB / 0.5722 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.1346, allocations: 67.94 kB / 0.5723 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.1366, allocations: 1.022 MB / 0.5733 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1366, allocations: 0 / 0.5733 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-05/0.1367, allocations: 24 kB / 0.5733 GB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.1367, allocations: 20 kB / 0.5733 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.1388, allocations: 1.058 MB / 0.5743 GB, free: 6.883 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.005094/0.1439, allocations: 3.337 MB / 0.5776 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.1459, allocations: 1.383 MB / 0.5789 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.98e-05/0.146, allocations: 16.95 kB / 0.579 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.1461, allocations: 39.5 kB / 0.579 GB, free: 1.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 2.865e-06/0.1461, allocations: 0 / 0.579 GB, free: 1.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=83): time 0.02672/0.1728, allocations: 8.021 MB / 0.5868 GB, free: 9.746 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.1729, allocations: 64.34 kB / 0.5869 GB, free: 9.672 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.174, allocations: 0.7789 MB / 0.5877 GB, free: 8.887 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001804/0.1742, allocations: 41.7 kB / 0.5877 GB, free: 8.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/0.1745, allocations: 436.4 kB / 0.5881 GB, free: 8.406 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002978/0.1748, allocations: 299.7 kB / 0.5884 GB, free: 8.109 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.041e-05/0.1749, allocations: 20 kB / 0.5884 GB, free: 8.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.175, allocations: 345.9 kB / 0.5887 GB, free: 7.746 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/0.1765, allocations: 0.7327 MB / 0.5895 GB, free: 7.012 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.1781, allocations: 0.8538 MB / 0.5903 GB, free: 6.129 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.1796, allocations: 0.7771 MB / 0.5911 GB, free: 5.352 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1796, allocations: 0 / 0.5911 GB, free: 5.352 MB / 414.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01404/0.1937, allocations: 5.039 MB / 0.596 GB, free: 304 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.1937, allocations: 8 kB / 0.596 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.1938, allocations: 3.938 kB / 0.596 GB, free: 292 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006521/0.2003, allocations: 2.092 MB / 0.598 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008644/0.2012, allocations: 175.8 kB / 0.5982 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02208/0.2233, allocations: 9.977 MB / 0.6079 GB, free: 3.895 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.2246, allocations: 191.1 kB / 0.6081 GB, free: 3.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.049e-05/0.2247, allocations: 39.97 kB / 0.6082 GB, free: 3.668 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 (99): * Single equations (assignments): 98 * 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.0003963/0.2251, allocations: 229.2 kB / 0.6084 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.2253, allocations: 102.7 kB / 0.6085 GB, free: 3.336 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/0.2386, allocations: 4.723 MB / 0.6131 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.2386, allocations: 8 kB / 0.6131 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2386, allocations: 0 / 0.6131 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/0.2387, allocations: 3.984 kB / 0.6131 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/0.2535, allocations: 6.29 MB / 0.6192 GB, free: 8.164 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.2536, allocations: 4 kB / 0.6192 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005166/0.2541, allocations: 99.89 kB / 0.6193 GB, free: 8.062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006133/0.2603, allocations: 2.053 MB / 0.6213 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/0.2604, allocations: 19.98 kB / 0.6214 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01811/0.2785, allocations: 8.628 MB / 0.6298 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.2785, allocations: 11.94 kB / 0.6298 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01546/0.294, allocations: 5.716 MB / 0.6354 GB, free: 7.453 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004097/0.2945, allocations: 183.7 kB / 0.6356 GB, free: 7.254 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002907/0.2948, allocations: 12 kB / 0.6356 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.2958, allocations: 131.9 kB / 0.6357 GB, free: 7.113 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005964/0.2964, allocations: 200.6 kB / 0.6359 GB, free: 6.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.171e-05/0.2965, allocations: 16 kB / 0.6359 GB, free: 6.902 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007174/0.2973, allocations: 0.5302 MB / 0.6364 GB, free: 6.375 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2973, allocations: 3.938 kB / 0.6364 GB, free: 6.371 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001382/0.2987, allocations: 407.6 kB / 0.6368 GB, free: 5.973 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 (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.00026/0.2989, allocations: 127.2 kB / 0.6369 GB, free: 5.836 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006365/0.3053, allocations: 2.582 MB / 0.6395 GB, free: 3.238 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3053, allocations: 0 / 0.6395 GB, free: 3.238 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004669/0.31, allocations: 1.701 MB / 0.6411 GB, free: 1.527 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005646/0.3106, allocations: 79.17 kB / 0.6412 GB, free: 1.449 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/0.3139, allocations: 2.129 MB / 0.6433 GB, free: 15.31 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000611/0.3145, allocations: 1.06 MB / 0.6443 GB, free: 14.22 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003082/0.3148, allocations: 82.3 kB / 0.6444 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.315, allocations: 51.44 kB / 0.6444 GB, free: 14.09 MB / 478.1 MB Notification: Performance of SimCode: time 2.956e-06/0.315, allocations: 0 / 0.6444 GB, free: 14.09 MB / 478.1 MB Notification: Performance of Templates: time 0.2085/0.5236, allocations: 19.03 MB / 0.663 GB, free: 96.16 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) Environment - environmentSimulation: