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-master/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-master/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-master/package.mo): time 0.08/0.08, allocations: 12.6 MB / 28.86 MB, free: 244 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.001147/0.001147, allocations: 115.4 kB / 32.46 MB, free: 3.395 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.338/1.338, allocations: 205.1 MB / 241.1 MB, free: 12.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 203.8 kB / 291.3 MB, free: 10.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4122/0.4122, allocations: 78.51 MB / 419.9 MB, free: 10.77 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.002635/0.002635, allocations: 143.8 kB / 0.4895 GB, free: 9.402 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2655, allocations: 68.12 MB / 0.556 GB, free: 21.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004681/0.2702, allocations: 5.838 MB / 0.5617 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002798/0.273, allocations: 1.705 MB / 0.5634 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004587/0.2735, allocations: 11.94 kB / 0.5634 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004376/0.274, allocations: 206.3 kB / 0.5636 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.2754, allocations: 0.6812 MB / 0.5642 GB, free: 12.8 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.001121/0.2765, allocations: 0.5764 MB / 0.5648 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001005/0.2775, allocations: 1.249 MB / 0.566 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003043/0.2778, allocations: 277.5 kB / 0.5663 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004299/0.2783, allocations: 0.5251 MB / 0.5668 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004602/0.2788, allocations: 0.6378 MB / 0.5674 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.355e-05/0.2789, allocations: 88 kB / 0.5675 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.2792, allocations: 231.8 kB / 0.5677 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.2793, allocations: 238.9 kB / 0.568 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.2796, allocations: 0.5437 MB / 0.5685 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009028/0.2806, allocations: 1.362 MB / 0.5698 GB, free: 7.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2806, allocations: 0 / 0.5698 GB, free: 7.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2806, allocations: 0 / 0.5698 GB, free: 7.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.2806, allocations: 0 / 0.5698 GB, free: 7.074 MB / 382.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.006715/0.2873, allocations: 2.349 MB / 0.5721 GB, free: 4.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.2874, allocations: 15.97 kB / 0.5721 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004607/0.292, allocations: 0.7518 MB / 0.5729 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009631/0.293, allocations: 0.7088 MB / 0.5736 GB, free: 3.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/0.2932, allocations: 256.2 kB / 0.5738 GB, free: 2.863 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.2933, allocations: 68 kB / 0.5739 GB, free: 2.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.2949, allocations: 0.956 MB / 0.5748 GB, free: 1.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.2949, allocations: 3.938 kB / 0.5748 GB, free: 1.832 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.24e-05/0.295, allocations: 24 kB / 0.5748 GB, free: 1.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.295, allocations: 16 kB / 0.5748 GB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.2968, allocations: 0.9876 MB / 0.5758 GB, free: 0.8047 MB / 382.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.004902/0.3017, allocations: 3.151 MB / 0.5789 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.3037, allocations: 1.313 MB / 0.5802 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.305, allocations: 0.7126 MB / 0.5809 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.3052, allocations: 12.98 kB / 0.5809 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.3052, allocations: 43.56 kB / 0.5809 GB, free: 11.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 2.214e-06/0.3052, allocations: 0 / 0.5809 GB, free: 11.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=83): time 0.02425/0.3295, allocations: 6.477 MB / 0.5872 GB, free: 4.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.3295, allocations: 60.41 kB / 0.5873 GB, free: 4.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.3305, allocations: 0.7945 MB / 0.5881 GB, free: 3.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.3307, allocations: 41.7 kB / 0.5881 GB, free: 3.863 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.331, allocations: 440.3 kB / 0.5885 GB, free: 3.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/0.3312, allocations: 295.7 kB / 0.5888 GB, free: 3.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003602/0.3316, allocations: 194.8 kB / 0.589 GB, free: 2.934 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3317, allocations: 341.9 kB / 0.5893 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.3331, allocations: 0.6584 MB / 0.59 GB, free: 1.938 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.3346, allocations: 0.7873 MB / 0.5907 GB, free: 1.117 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01715/0.3517, allocations: 4.52 MB / 0.5951 GB, free: 12.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.3518, allocations: 0 / 0.5951 GB, free: 12.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01264/0.3644, allocations: 4.075 MB / 0.5991 GB, free: 8.469 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.3645, allocations: 8 kB / 0.5991 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.3645, allocations: 3.984 kB / 0.5991 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00568/0.3702, allocations: 1.745 MB / 0.6008 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009025/0.3711, allocations: 179.8 kB / 0.601 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01977/0.3909, allocations: 9.049 MB / 0.6099 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.3923, allocations: 147.1 kB / 0.61 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.3924, allocations: 39.98 kB / 0.61 GB, free: 13.15 MB / 430.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 (101): * Single equations (assignments): 100 * 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.0004546/0.3929, allocations: 237 kB / 0.6103 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.3931, allocations: 102.8 kB / 0.6104 GB, free: 12.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/0.4051, allocations: 3.813 MB / 0.6141 GB, free: 8.977 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.4051, allocations: 15.92 kB / 0.6141 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.4051, allocations: 0 / 0.6141 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-05/0.4052, allocations: 3.984 kB / 0.6141 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/0.4188, allocations: 5.376 MB / 0.6193 GB, free: 3.449 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.4188, allocations: 0 / 0.6193 GB, free: 3.449 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005071/0.4193, allocations: 91.83 kB / 0.6194 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005616/0.4249, allocations: 1.741 MB / 0.6211 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.425, allocations: 16 kB / 0.6211 GB, free: 1.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01776/0.4428, allocations: 8.041 MB / 0.629 GB, free: 9.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.4429, allocations: 7.938 kB / 0.629 GB, free: 9.402 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01395/0.4568, allocations: 4.736 MB / 0.6336 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005543/0.4574, allocations: 195.6 kB / 0.6338 GB, free: 4.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/0.4576, allocations: 16 kB / 0.6338 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009595/0.4586, allocations: 83.89 kB / 0.6339 GB, free: 4.332 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008139/0.4594, allocations: 212.5 kB / 0.6341 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.145e-05/0.4595, allocations: 23.94 kB / 0.6341 GB, free: 4.102 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000641/0.4602, allocations: 0.5341 MB / 0.6347 GB, free: 3.574 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4602, allocations: 0 / 0.6347 GB, free: 3.574 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001095/0.4613, allocations: 411.5 kB / 0.6351 GB, free: 3.172 MB / 446.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 (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.0003192/0.4616, allocations: 123.2 kB / 0.6352 GB, free: 3.043 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006189/0.4678, allocations: 2.308 MB / 0.6374 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4678, allocations: 0 / 0.6374 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004364/0.4722, allocations: 1.515 MB / 0.6389 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007197/0.473, allocations: 75.34 kB / 0.639 GB, free: 15.11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/0.476, allocations: 1.778 MB / 0.6407 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005591/0.4765, allocations: 1.037 MB / 0.6417 GB, free: 12.25 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002794/0.4768, allocations: 74.31 kB / 0.6418 GB, free: 12.17 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.477, allocations: 63.42 kB / 0.6419 GB, free: 12.11 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.477, allocations: 0 / 0.6419 GB, free: 12.11 MB / 462.1 MB Notification: Performance of Templates: time 0.03286/0.5099, allocations: 22.2 MB / 0.6635 GB, free: 5.918 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (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 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)