Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.36/1.36, allocations: 222.9 MB / 240.1 MB, free: 4.551 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.001373/0.001373, allocations: 188.4 kB / 290.4 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4393/0.4393, allocations: 78.53 MB / 419.1 MB, free: 3.172 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002647/0.002647, allocations: 84.09 kB / 0.5543 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3019, allocations: 68.17 MB / 0.6209 GB, free: 9.801 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.005039/0.307, allocations: 6.366 MB / 0.6271 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00275/0.3097, allocations: 1.934 MB / 0.629 GB, free: 1.949 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003659/0.3101, allocations: 8 kB / 0.629 GB, free: 1.941 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005094/0.3107, allocations: 242 kB / 0.6292 GB, free: 1.703 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.312, allocations: 0.7796 MB / 0.63 GB, free: 0.9219 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001077/0.313, allocations: 0.6734 MB / 0.6306 GB, free: 264 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001303/0.3144, allocations: 1.467 MB / 0.6321 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004208/0.3148, allocations: 316.1 kB / 0.6324 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006796/0.3155, allocations: 0.5952 MB / 0.633 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007616/0.3163, allocations: 0.7272 MB / 0.6337 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.3164, allocations: 104 kB / 0.6338 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004371/0.3169, allocations: 235.9 kB / 0.634 GB, free: 12.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002573/0.3171, allocations: 282.8 kB / 0.6343 GB, free: 12.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004937/0.3176, allocations: 0.6174 MB / 0.6349 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.3191, allocations: 1.536 MB / 0.6364 GB, free: 10.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3191, allocations: 0 / 0.6364 GB, free: 10.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3191, allocations: 0 / 0.6364 GB, free: 10.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.028e-05/0.3191, allocations: 3.938 kB / 0.6364 GB, free: 10.37 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.008378/0.3275, allocations: 2.544 MB / 0.6388 GB, free: 7.762 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3276, allocations: 8.031 kB / 0.6389 GB, free: 7.754 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005311/0.3329, allocations: 0.7749 MB / 0.6396 GB, free: 6.977 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.3343, allocations: 0.8149 MB / 0.6404 GB, free: 6.105 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002992/0.3346, allocations: 256.2 kB / 0.6406 GB, free: 5.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.3348, allocations: 76 kB / 0.6407 GB, free: 5.746 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.3372, allocations: 1.125 MB / 0.6418 GB, free: 4.605 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.3372, allocations: 3.938 kB / 0.6418 GB, free: 4.602 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.3373, allocations: 35.94 kB / 0.6419 GB, free: 4.566 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.3373, allocations: 16 kB / 0.6419 GB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002382/0.3397, allocations: 1.074 MB / 0.6429 GB, free: 3.48 MB / 446.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.005837/0.3456, allocations: 3.443 MB / 0.6463 GB, free: 15.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/0.3479, allocations: 1.433 MB / 0.6477 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.3494, allocations: 0.7422 MB / 0.6484 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.144e-05/0.3495, allocations: 20.89 kB / 0.6484 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.3496, allocations: 47.5 kB / 0.6485 GB, free: 13.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 3.256e-06/0.3496, allocations: 4 kB / 0.6485 GB, free: 13.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=90): time 0.02641/0.376, allocations: 6.485 MB / 0.6548 GB, free: 6.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.3761, allocations: 94.05 kB / 0.6549 GB, free: 6.871 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.3774, allocations: 0.9415 MB / 0.6558 GB, free: 5.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.3775, allocations: 41.7 kB / 0.6559 GB, free: 5.863 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003436/0.3779, allocations: 484.5 kB / 0.6563 GB, free: 5.383 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003042/0.3782, allocations: 323.4 kB / 0.6566 GB, free: 5.062 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004074/0.3786, allocations: 198.8 kB / 0.6568 GB, free: 4.859 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3787, allocations: 349.9 kB / 0.6572 GB, free: 4.512 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/0.3804, allocations: 0.7126 MB / 0.6579 GB, free: 3.797 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.3821, allocations: 0.8267 MB / 0.6587 GB, free: 2.938 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01931/0.4014, allocations: 4.72 MB / 0.6633 GB, free: 14.18 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/0.4014, allocations: 3.938 kB / 0.6633 GB, free: 14.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01465/0.4161, allocations: 4.226 MB / 0.6674 GB, free: 9.938 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.4162, allocations: 6.5 kB / 0.6674 GB, free: 9.934 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.4162, allocations: 4 kB / 0.6674 GB, free: 9.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006411/0.4226, allocations: 1.714 MB / 0.6691 GB, free: 8.211 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.4237, allocations: 199.8 kB / 0.6693 GB, free: 8.016 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02244/0.4461, allocations: 9.057 MB / 0.6781 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.4477, allocations: 178.9 kB / 0.6783 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.4479, allocations: 39.98 kB / 0.6783 GB, free: 14.59 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001951/0.4498, allocations: 0.8809 MB / 0.6792 GB, free: 13.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001707/0.4516, allocations: 0.8228 MB / 0.68 GB, free: 12.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01922/0.4708, allocations: 4.678 MB / 0.6846 GB, free: 8.145 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.776e-06/0.4708, allocations: 0 / 0.6846 GB, free: 8.145 MB / 494.1 MB Notification: Performance of matching and sorting (n=145) (initialization_lambda0): time 0.01464/0.4855, allocations: 4.203 MB / 0.6887 GB, free: 3.926 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.4855, allocations: 7.938 kB / 0.6887 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.4855, allocations: 4 kB / 0.6887 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00637/0.4919, allocations: 1.718 MB / 0.6904 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.493, allocations: 203.7 kB / 0.6905 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0221/0.5151, allocations: 9.044 MB / 0.6994 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.5167, allocations: 171 kB / 0.6995 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/0.5169, allocations: 39.98 kB / 0.6996 GB, free: 8.598 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (111): * Single equations (assignments): 110 * 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.0004282/0.5174, allocations: 234.4 kB / 0.6998 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003366/0.5177, allocations: 114.5 kB / 0.6999 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/0.5317, allocations: 3.947 MB / 0.7038 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.683e-05/0.5318, allocations: 3.984 kB / 0.7038 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5318, allocations: 0 / 0.7038 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000412/0.5322, allocations: 199.5 kB / 0.704 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003272/0.5326, allocations: 16 kB / 0.704 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.5338, allocations: 111.9 kB / 0.7041 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001189/0.535, allocations: 488.2 kB / 0.7045 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006263/0.5413, allocations: 2.02 MB / 0.7065 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004763/0.5461, allocations: 2.209 MB / 0.7087 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001416/0.5475, allocations: 0.5817 MB / 0.7092 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001045/0.5486, allocations: 0.6391 MB / 0.7099 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of Backend: time 6.92e-07/0.5486, allocations: 0 / 0.7099 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01159/0.5602, allocations: 3.668 MB / 0.7135 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003474/0.5637, allocations: 2.632 MB / 0.716 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of Templates: time 0.04904/0.6128, allocations: 33.09 MB / 0.7483 GB, free: 6.492 MB / 0.545 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)