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.06892/0.06892, allocations: 12.59 MB / 28.76 MB, free: 368 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.0008535/0.0008535, allocations: 107.5 kB / 32.37 MB, free: 3.457 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.083/1.083, allocations: 205.1 MB / 241 MB, free: 12.44 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.001132/0.001132, allocations: 180.5 kB / 291.2 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3678/0.3678, allocations: 78.51 MB / 419.8 MB, free: 11.35 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.002339/0.002339, allocations: 131.8 kB / 0.4887 GB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2138, allocations: 68.12 MB / 0.5552 GB, free: 32.53 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.004525/0.2184, allocations: 5.842 MB / 0.5609 GB, free: 28.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.2204, allocations: 1.711 MB / 0.5626 GB, free: 27.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/0.2207, allocations: 8.438 kB / 0.5626 GB, free: 27.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.221, allocations: 208.8 kB / 0.5628 GB, free: 26.87 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.2221, allocations: 0.6857 MB / 0.5635 GB, free: 26.3 MB / 398.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.0008021/0.2229, allocations: 0.5676 MB / 0.564 GB, free: 25.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000785/0.2237, allocations: 1.248 MB / 0.5653 GB, free: 25.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002984/0.224, allocations: 282.2 kB / 0.5655 GB, free: 25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003784/0.2244, allocations: 0.5245 MB / 0.566 GB, free: 24.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004524/0.2249, allocations: 0.6436 MB / 0.5667 GB, free: 24.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.225, allocations: 87.25 kB / 0.5667 GB, free: 24.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003277/0.2253, allocations: 228.4 kB / 0.567 GB, free: 24.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.2255, allocations: 242.8 kB / 0.5672 GB, free: 23.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.2258, allocations: 0.5428 MB / 0.5677 GB, free: 23.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007703/0.2265, allocations: 1.347 MB / 0.569 GB, free: 22.56 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2266, allocations: 0 / 0.569 GB, free: 22.56 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.041e-06/0.2266, allocations: 1.375 kB / 0.569 GB, free: 22.56 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.2266, allocations: 0 / 0.569 GB, free: 22.56 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.006121/0.2327, allocations: 2.348 MB / 0.5713 GB, free: 21.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.694e-05/0.2327, allocations: 11.02 kB / 0.5713 GB, free: 21.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004213/0.237, allocations: 0.7528 MB / 0.5721 GB, free: 20.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006817/0.2376, allocations: 0.7119 MB / 0.5728 GB, free: 20.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.2378, allocations: 251.3 kB / 0.573 GB, free: 19.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.238, allocations: 68.12 kB / 0.5731 GB, free: 19.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.2396, allocations: 0.9594 MB / 0.574 GB, free: 19.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.2396, allocations: 3.938 kB / 0.574 GB, free: 19.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.438e-05/0.2397, allocations: 26.03 kB / 0.574 GB, free: 19.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.2397, allocations: 19.88 kB / 0.5741 GB, free: 19.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.2414, allocations: 0.9745 MB / 0.575 GB, free: 18.91 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.00372/0.2452, allocations: 3.175 MB / 0.5781 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.2467, allocations: 1.314 MB / 0.5794 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.2477, allocations: 0.7048 MB / 0.5801 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-05/0.2478, allocations: 12.98 kB / 0.5801 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/0.2478, allocations: 51.5 kB / 0.5801 GB, free: 13.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 1.844e-06/0.2479, allocations: 0 / 0.5801 GB, free: 13.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=83): time 0.02127/0.2691, allocations: 6.473 MB / 0.5865 GB, free: 7.086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.2692, allocations: 64.34 kB / 0.5865 GB, free: 7.012 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005796/0.2698, allocations: 0.7945 MB / 0.5873 GB, free: 6.211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/0.2698, allocations: 41.7 kB / 0.5873 GB, free: 6.164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.27, allocations: 432.4 kB / 0.5878 GB, free: 5.734 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.2702, allocations: 295.7 kB / 0.588 GB, free: 5.441 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/0.2704, allocations: 190.8 kB / 0.5882 GB, free: 5.246 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.589e-05/0.2705, allocations: 345.9 kB / 0.5886 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.2716, allocations: 0.6624 MB / 0.5892 GB, free: 4.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.2728, allocations: 0.7796 MB / 0.59 GB, free: 3.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01505/0.2879, allocations: 4.538 MB / 0.5944 GB, free: 14.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2879, allocations: 7.938 kB / 0.5944 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01206/0.3, allocations: 4.075 MB / 0.5984 GB, free: 10.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3, allocations: 7.938 kB / 0.5984 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.3, allocations: 4 kB / 0.5984 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005501/0.3055, allocations: 1.745 MB / 0.6001 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007375/0.3063, allocations: 191.7 kB / 0.6003 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01895/0.3252, allocations: 9.055 MB / 0.6091 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.3263, allocations: 151.1 kB / 0.6093 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.257e-05/0.3264, allocations: 35.98 kB / 0.6093 GB, free: 15.41 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.0003351/0.3267, allocations: 237.2 kB / 0.6095 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.3269, allocations: 98.78 kB / 0.6096 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/0.3385, allocations: 3.813 MB / 0.6133 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.3385, allocations: 11.94 kB / 0.6134 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.3385, allocations: 0 / 0.6134 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.3385, allocations: 3.984 kB / 0.6134 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/0.3516, allocations: 5.391 MB / 0.6186 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3516, allocations: 0 / 0.6186 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/0.352, allocations: 83.89 kB / 0.6187 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005393/0.3574, allocations: 1.753 MB / 0.6204 GB, free: 3.863 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.028e-05/0.3575, allocations: 15.98 kB / 0.6204 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01671/0.3742, allocations: 8.057 MB / 0.6283 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3742, allocations: 7.938 kB / 0.6283 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/0.3874, allocations: 4.727 MB / 0.6329 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.3876, allocations: 195.6 kB / 0.6331 GB, free: 6.672 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.3877, allocations: 12 kB / 0.6331 GB, free: 6.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008013/0.3885, allocations: 87.89 kB / 0.6332 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004473/0.3889, allocations: 208.5 kB / 0.6334 GB, free: 6.371 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-05/0.389, allocations: 24 kB / 0.6334 GB, free: 6.348 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005483/0.3896, allocations: 0.5341 MB / 0.6339 GB, free: 5.816 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3896, allocations: 0 / 0.6339 GB, free: 5.816 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009024/0.3905, allocations: 411.5 kB / 0.6343 GB, free: 5.414 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.0001955/0.3907, allocations: 127.1 kB / 0.6345 GB, free: 5.281 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005784/0.3965, allocations: 2.332 MB / 0.6367 GB, free: 2.934 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.3965, allocations: 0 / 0.6367 GB, free: 2.934 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004069/0.4006, allocations: 1.515 MB / 0.6382 GB, free: 1.406 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005006/0.4011, allocations: 81.2 kB / 0.6383 GB, free: 1.328 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.4036, allocations: 1.83 MB / 0.6401 GB, free: 15.47 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.4041, allocations: 1.041 MB / 0.6411 GB, free: 14.41 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.4043, allocations: 63.42 kB / 0.6412 GB, free: 14.34 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4043, allocations: 0 / 0.6412 GB, free: 14.34 MB / 462.1 MB Notification: Performance of Templates: time 0.01767/0.422, allocations: 17.78 MB / 0.6585 GB, free: 12.54 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 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)