Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009255/0.0009256, allocations: 181.4 kB / 15.78 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.3 MB / 239.8 MB, free: 1.742 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007731/0.0007732, allocations: 94.62 kB / 290.9 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4931/0.4931, allocations: 78.61 MB / 420.7 MB, free: 44.2 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004264/0.0004267, allocations: 12 kB / 0.4888 GB, free: 2.914 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4577/0.4581, allocations: 69.35 MB / 0.5565 GB, free: 38.77 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.006717/0.4649, allocations: 5.865 MB / 0.5622 GB, free: 37.61 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005634/0.4706, allocations: 1.879 MB / 0.5641 GB, free: 36.28 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.4721, allocations: 11.75 kB / 0.5641 GB, free: 36.28 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007974/0.4729, allocations: 169.9 kB / 0.5642 GB, free: 36.21 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002149/0.475, allocations: 0.5995 MB / 0.5648 GB, free: 35.81 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001768/0.4768, allocations: 0.5558 MB / 0.5654 GB, free: 35.52 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002347/0.4792, allocations: 1.315 MB / 0.5667 GB, free: 34.85 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005564/0.4797, allocations: 256 kB / 0.5669 GB, free: 34.73 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.4809, allocations: 0.5127 MB / 0.5674 GB, free: 34.51 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009184/0.4819, allocations: 0.6328 MB / 0.568 GB, free: 34.23 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.482, allocations: 51.97 kB / 0.5681 GB, free: 34.23 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006533/0.4827, allocations: 177.2 kB / 0.5682 GB, free: 34.2 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.4829, allocations: 219 kB / 0.5685 GB, free: 34.07 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.4832, allocations: 221.5 kB / 0.5687 GB, free: 33.93 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.4843, allocations: 1.138 MB / 0.5698 GB, free: 33.57 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4843, allocations: 2.844 kB / 0.5698 GB, free: 33.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.4843, allocations: 4 kB / 0.5698 GB, free: 33.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.4843, allocations: 0 / 0.5698 GB, free: 33.57 MB / 426.7 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.007418/0.4917, allocations: 2.367 MB / 0.5721 GB, free: 32.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.4918, allocations: 8.781 kB / 0.5721 GB, free: 32.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004742/0.4966, allocations: 0.7818 MB / 0.5729 GB, free: 32.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/0.4981, allocations: 0.7777 MB / 0.5736 GB, free: 31.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002706/0.4984, allocations: 268.1 kB / 0.5739 GB, free: 31.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.4986, allocations: 76.78 kB / 0.574 GB, free: 31.63 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/0.5009, allocations: 1.199 MB / 0.5751 GB, free: 31.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.5009, allocations: 3.938 kB / 0.5751 GB, free: 31.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.512e-05/0.501, allocations: 29.23 kB / 0.5752 GB, free: 31.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.501, allocations: 19.72 kB / 0.5752 GB, free: 31.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/0.5033, allocations: 1.16 MB / 0.5763 GB, free: 30.82 MB / 426.7 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.006095/0.5095, allocations: 3.527 MB / 0.5798 GB, free: 28.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.5116, allocations: 1.529 MB / 0.5812 GB, free: 27.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/0.5131, allocations: 0.8237 MB / 0.582 GB, free: 27.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.694e-05/0.5132, allocations: 16.84 kB / 0.5821 GB, free: 27.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.5132, allocations: 45.34 kB / 0.5821 GB, free: 27.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=90): time 3.546e-06/0.5133, allocations: 0 / 0.5821 GB, free: 27.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=90): time 0.02678/0.54, allocations: 8.051 MB / 0.59 GB, free: 26.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.5401, allocations: 91.8 kB / 0.5901 GB, free: 26.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.5418, allocations: 0.9234 MB / 0.591 GB, free: 25.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002814/0.5421, allocations: 41.83 kB / 0.591 GB, free: 25.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003526/0.5425, allocations: 486.4 kB / 0.5915 GB, free: 25.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003415/0.5429, allocations: 337.8 kB / 0.5918 GB, free: 24.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-05/0.5429, allocations: 21.31 kB / 0.5918 GB, free: 24.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.543, allocations: 352.2 kB / 0.5921 GB, free: 24.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001812/0.5449, allocations: 0.771 MB / 0.5929 GB, free: 24.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001829/0.5467, allocations: 0.9118 MB / 0.5938 GB, free: 23.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001788/0.5485, allocations: 0.8319 MB / 0.5946 GB, free: 23.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.5485, allocations: 1.469 kB / 0.5946 GB, free: 23.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01644/0.565, allocations: 5.123 MB / 0.5996 GB, free: 22.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.5651, allocations: 151.9 kB / 0.5997 GB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.5652, allocations: 5.125 kB / 0.5998 GB, free: 22.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007718/0.5729, allocations: 2.103 MB / 0.6018 GB, free: 21.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.5741, allocations: 194.5 kB / 0.602 GB, free: 21.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02415/0.5983, allocations: 9.531 MB / 0.6113 GB, free: 17.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.6003, allocations: 217.4 kB / 0.6115 GB, free: 17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002699/0.6006, allocations: 39.33 kB / 0.6115 GB, free: 16.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.6006, allocations: 4 kB / 0.6115 GB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01427/0.6149, allocations: 4.978 MB / 0.6164 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/0.6149, allocations: 4 kB / 0.6164 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006033/0.621, allocations: 2.1 MB / 0.6185 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.622, allocations: 199.7 kB / 0.6187 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01967/0.6417, allocations: 9.491 MB / 0.6279 GB, free: 0.6094 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.6436, allocations: 203.1 kB / 0.6281 GB, free: 420 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002489/0.6439, allocations: 39.98 kB / 0.6282 GB, free: 380 kB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (109): * Single equations (assignments): 108 * 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.0008012/0.6447, allocations: 316.9 kB / 0.6285 GB, free: 52 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000474/0.6452, allocations: 118.7 kB / 0.6286 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01445/0.6596, allocations: 4.86 MB / 0.6333 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.6597, allocations: 11.94 kB / 0.6333 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.6597, allocations: 3.953 kB / 0.6333 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.4e-05/0.6597, allocations: 3.984 kB / 0.6333 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01762/0.6773, allocations: 6.469 MB / 0.6397 GB, free: 4.434 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.6774, allocations: 0 / 0.6397 GB, free: 4.434 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007593/0.6782, allocations: 115.9 kB / 0.6398 GB, free: 4.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006704/0.6849, allocations: 2.042 MB / 0.6418 GB, free: 2.273 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002493/0.6852, allocations: 23.94 kB / 0.6418 GB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01989/0.7051, allocations: 8.206 MB / 0.6498 GB, free: 9.898 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.7051, allocations: 0 / 0.6498 GB, free: 9.898 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01745/0.7226, allocations: 5.849 MB / 0.6555 GB, free: 4.027 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00056/0.7232, allocations: 211.4 kB / 0.6557 GB, free: 3.801 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000411/0.7236, allocations: 16 kB / 0.6557 GB, free: 3.785 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/0.725, allocations: 151.9 kB / 0.6559 GB, free: 3.637 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006809/0.7257, allocations: 204.6 kB / 0.6561 GB, free: 3.438 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.7258, allocations: 27.92 kB / 0.6561 GB, free: 3.41 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001242/0.7271, allocations: 0.6352 MB / 0.6567 GB, free: 2.766 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.7271, allocations: 0 / 0.6567 GB, free: 2.766 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002828/0.7299, allocations: 0.6983 MB / 0.6574 GB, free: 2.066 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],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 (57): * Single equations (assignments): 56 * 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.0003565/0.7303, allocations: 127.4 kB / 0.6575 GB, free: 1.938 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01326/0.7436, allocations: 4.626 MB / 0.662 GB, free: 13.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.7436, allocations: 0 / 0.662 GB, free: 13.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005686/0.7493, allocations: 1.742 MB / 0.6637 GB, free: 11.54 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.751, allocations: 100.3 kB / 0.6638 GB, free: 11.44 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005428/0.7565, allocations: 2.538 MB / 0.6663 GB, free: 8.863 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008351/0.7573, allocations: 1.113 MB / 0.6674 GB, free: 7.719 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003695/0.7577, allocations: 67.42 kB / 0.6675 GB, free: 7.652 MB / 474.7 MB Notification: Performance of SimCode: time 1.173e-06/0.7577, allocations: 0 / 0.6675 GB, free: 7.652 MB / 474.7 MB Notification: Performance of Templates: time 0.03226/0.79, allocations: 20.93 MB / 0.6879 GB, free: 2.719 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)