Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001225, allocations: 109.4 kB / 15.99 MB, free: 6.344 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.307/1.307, allocations: 222.9 MB / 239.6 MB, free: 4.723 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.001312/0.001312, allocations: 196.1 kB / 289.9 MB, free: 2.457 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4405/0.4405, allocations: 78.52 MB / 418.6 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 79.88 kB / 497.6 MB, free: 6.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1438, allocations: 68.17 MB / 0.5525 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.269/0.4128, allocations: 6.137 MB / 0.5585 GB, free: 36.33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003812/0.4167, allocations: 1.778 MB / 0.5602 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.4178, allocations: 12.5 kB / 0.5602 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006088/0.4184, allocations: 159.2 kB / 0.5604 GB, free: 35.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.4203, allocations: 0.5996 MB / 0.561 GB, free: 35.65 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.00119/0.4215, allocations: 0.5278 MB / 0.5615 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.423, allocations: 1.244 MB / 0.5627 GB, free: 35.51 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004366/0.4235, allocations: 274.2 kB / 0.563 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008475/0.4243, allocations: 0.5269 MB / 0.5635 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006658/0.425, allocations: 0.6454 MB / 0.5641 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.4251, allocations: 91.81 kB / 0.5642 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004991/0.4256, allocations: 226.4 kB / 0.5644 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.4259, allocations: 237.1 kB / 0.5646 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004339/0.4263, allocations: 0.5474 MB / 0.5652 GB, free: 34.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.4275, allocations: 1.047 MB / 0.5662 GB, free: 34.76 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.4275, allocations: 2.031 kB / 0.5662 GB, free: 34.76 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.4275, allocations: 0 / 0.5662 GB, free: 34.76 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.46e-05/0.4276, allocations: 0 / 0.5662 GB, free: 34.76 MB / 430.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.007359/0.4349, allocations: 2.341 MB / 0.5685 GB, free: 33.94 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.435, allocations: 16.05 kB / 0.5685 GB, free: 33.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004772/0.4398, allocations: 0.7577 MB / 0.5692 GB, free: 33.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.441, allocations: 0.7022 MB / 0.5699 GB, free: 33.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002719/0.4413, allocations: 257.2 kB / 0.5702 GB, free: 33.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.4414, allocations: 68.22 kB / 0.5702 GB, free: 33.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.4433, allocations: 0.9566 MB / 0.5712 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.4434, allocations: 3.938 kB / 0.5712 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.351e-05/0.4435, allocations: 25.22 kB / 0.5712 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.4435, allocations: 20.7 kB / 0.5712 GB, free: 33.26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/0.4454, allocations: 0.9798 MB / 0.5722 GB, free: 33.25 MB / 430.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.005087/0.4505, allocations: 3.173 MB / 0.5753 GB, free: 32.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.4524, allocations: 1.312 MB / 0.5766 GB, free: 31.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.4536, allocations: 0.7073 MB / 0.5772 GB, free: 31.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.4537, allocations: 12.66 kB / 0.5773 GB, free: 31.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.4538, allocations: 45.94 kB / 0.5773 GB, free: 31.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.797e-06/0.4538, allocations: 0.5625 kB / 0.5773 GB, free: 31.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02488/0.4787, allocations: 6.473 MB / 0.5836 GB, free: 30.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.4788, allocations: 64.78 kB / 0.5837 GB, free: 30.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.4802, allocations: 0.793 MB / 0.5845 GB, free: 29.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002151/0.4805, allocations: 43.58 kB / 0.5845 GB, free: 29.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003215/0.4808, allocations: 433.8 kB / 0.5849 GB, free: 29.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004282/0.4812, allocations: 300.5 kB / 0.5852 GB, free: 29.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005601/0.4818, allocations: 189.9 kB / 0.5854 GB, free: 29.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.703e-05/0.4819, allocations: 344.7 kB / 0.5857 GB, free: 28.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/0.4834, allocations: 0.6639 MB / 0.5864 GB, free: 28.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.485, allocations: 0.7812 MB / 0.5871 GB, free: 28.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01829/0.5033, allocations: 4.539 MB / 0.5916 GB, free: 27.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.627e-06/0.5034, allocations: 3.938 kB / 0.5916 GB, free: 27.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01417/0.5176, allocations: 4.073 MB / 0.5955 GB, free: 26.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/0.5176, allocations: 7.922 kB / 0.5955 GB, free: 26.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/0.5177, allocations: 4.156 kB / 0.5956 GB, free: 26.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006426/0.5241, allocations: 1.742 MB / 0.5973 GB, free: 25.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.5253, allocations: 184.8 kB / 0.5974 GB, free: 25.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02248/0.5478, allocations: 9.051 MB / 0.6063 GB, free: 21.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.5494, allocations: 158.2 kB / 0.6064 GB, free: 21.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002561/0.5497, allocations: 37.25 kB / 0.6065 GB, free: 21.34 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.0006413/0.5504, allocations: 222.2 kB / 0.6067 GB, free: 21.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003348/0.5507, allocations: 103.2 kB / 0.6068 GB, free: 21.1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/0.5629, allocations: 3.818 MB / 0.6105 GB, free: 19.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/0.563, allocations: 12.25 kB / 0.6105 GB, free: 19.37 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.563, allocations: 1.344 kB / 0.6105 GB, free: 19.37 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.188e-05/0.563, allocations: 3.984 kB / 0.6105 GB, free: 19.37 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/0.5766, allocations: 5.387 MB / 0.6158 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.5766, allocations: 1.125 kB / 0.6158 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005712/0.5772, allocations: 87.89 kB / 0.6159 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005223/0.5825, allocations: 1.751 MB / 0.6176 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001999/0.5827, allocations: 12 kB / 0.6176 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01635/0.5991, allocations: 8.062 MB / 0.6254 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5991, allocations: 3.984 kB / 0.6255 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01301/0.6121, allocations: 4.739 MB / 0.6301 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000429/0.6126, allocations: 187.6 kB / 0.6303 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003745/0.613, allocations: 21.19 kB / 0.6303 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.6142, allocations: 87.89 kB / 0.6304 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007315/0.615, allocations: 204.6 kB / 0.6306 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.959e-05/0.6151, allocations: 20 kB / 0.6306 GB, free: 14.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007759/0.6158, allocations: 0.5381 MB / 0.6311 GB, free: 14.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6159, allocations: 0 / 0.6311 GB, free: 14.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001769/0.6176, allocations: 411.5 kB / 0.6315 GB, free: 13.89 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.0003133/0.618, allocations: 125.7 kB / 0.6316 GB, free: 13.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006769/0.6247, allocations: 2.33 MB / 0.6339 GB, free: 11.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.6248, allocations: 0 / 0.6339 GB, free: 11.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004626/0.6294, allocations: 1.509 MB / 0.6354 GB, free: 9.906 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.6305, allocations: 79.89 kB / 0.6354 GB, free: 9.828 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004044/0.6346, allocations: 2.187 MB / 0.6376 GB, free: 7.641 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006978/0.6353, allocations: 1.038 MB / 0.6386 GB, free: 6.578 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/0.6356, allocations: 63.42 kB / 0.6387 GB, free: 6.516 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.6357, allocations: 0 / 0.6387 GB, free: 6.516 MB / 446.1 MB Notification: Performance of Templates: time 0.02599/0.6617, allocations: 17.81 MB / 0.656 GB, free: 4.852 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)