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/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/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/package.mo): time 0.0881/0.0881, allocations: 12.2 MB / 28.09 MB, free: 1.348 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 115.5 kB / 31.59 MB, free: 4.582 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.529/1.529, allocations: 205.1 MB / 240.1 MB, free: 11.61 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.001303/0.001303, allocations: 188.5 kB / 290.2 MB, free: 15.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4848/0.4848, allocations: 78.5 MB / 418.8 MB, free: 47.09 MB / 334.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.002766/0.002766, allocations: 131.8 kB / 499.1 MB, free: 4.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1673, allocations: 68.04 MB / 0.5538 GB, free: 368 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.2966/0.4639, allocations: 6.182 MB / 0.5598 GB, free: 38.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004057/0.468, allocations: 1.743 MB / 0.5615 GB, free: 37.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.4691, allocations: 10.75 kB / 0.5616 GB, free: 37.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006419/0.4698, allocations: 158.3 kB / 0.5617 GB, free: 37.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002058/0.4719, allocations: 0.6061 MB / 0.5623 GB, free: 37.64 MB / 430.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.001393/0.4733, allocations: 0.5252 MB / 0.5628 GB, free: 37.45 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001811/0.4751, allocations: 1.25 MB / 0.564 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004803/0.4756, allocations: 270.1 kB / 0.5643 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008434/0.4764, allocations: 0.5236 MB / 0.5648 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008199/0.4773, allocations: 0.6476 MB / 0.5654 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.4774, allocations: 87.5 kB / 0.5655 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005982/0.478, allocations: 221.3 kB / 0.5657 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.4783, allocations: 247 kB / 0.566 GB, free: 35.92 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004946/0.4788, allocations: 0.5466 MB / 0.5665 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.4801, allocations: 1.039 MB / 0.5675 GB, free: 35.13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4801, allocations: 4 kB / 0.5675 GB, free: 35.13 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.347e-06/0.4801, allocations: 0.9688 kB / 0.5675 GB, free: 35.13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.4801, allocations: 3.938 kB / 0.5675 GB, free: 35.12 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.007738/0.4879, allocations: 2.342 MB / 0.5698 GB, free: 34.05 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.4879, allocations: 12.48 kB / 0.5698 GB, free: 34.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004638/0.4926, allocations: 0.7586 MB / 0.5706 GB, free: 33.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.4936, allocations: 0.7078 MB / 0.5713 GB, free: 33.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00024/0.4939, allocations: 250.6 kB / 0.5715 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.494, allocations: 67.22 kB / 0.5716 GB, free: 33.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.4959, allocations: 0.9593 MB / 0.5725 GB, free: 32.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.4959, allocations: 10.66 kB / 0.5725 GB, free: 32.8 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.302e-05/0.496, allocations: 29.72 kB / 0.5725 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.496, allocations: 14.16 kB / 0.5725 GB, free: 32.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.4979, allocations: 0.9801 MB / 0.5735 GB, free: 32.46 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.004915/0.5028, allocations: 3.187 MB / 0.5766 GB, free: 30.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.5045, allocations: 1.304 MB / 0.5779 GB, free: 29.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.5057, allocations: 0.7049 MB / 0.5786 GB, free: 29.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.5059, allocations: 19.39 kB / 0.5786 GB, free: 29.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.5059, allocations: 38.34 kB / 0.5786 GB, free: 29.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.427e-06/0.5059, allocations: 7.75 kB / 0.5786 GB, free: 29.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02428/0.5302, allocations: 6.468 MB / 0.585 GB, free: 28.19 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.5303, allocations: 66.91 kB / 0.585 GB, free: 28.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.5314, allocations: 0.7972 MB / 0.5858 GB, free: 27.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002099/0.5316, allocations: 40.64 kB / 0.5858 GB, free: 27.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.5319, allocations: 434.7 kB / 0.5863 GB, free: 27.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003136/0.5322, allocations: 294.5 kB / 0.5865 GB, free: 27.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003539/0.5326, allocations: 190.5 kB / 0.5867 GB, free: 27.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.874e-05/0.5327, allocations: 344 kB / 0.587 GB, free: 26.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/0.534, allocations: 0.6653 MB / 0.5877 GB, free: 26.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.5353, allocations: 0.7863 MB / 0.5885 GB, free: 26.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01839/0.5537, allocations: 4.535 MB / 0.5929 GB, free: 24.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.5538, allocations: 0 / 0.5929 GB, free: 24.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01404/0.5678, allocations: 4.077 MB / 0.5969 GB, free: 23.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.5679, allocations: 6.641 kB / 0.5969 GB, free: 23.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.5679, allocations: 3.406 kB / 0.5969 GB, free: 23.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006318/0.5743, allocations: 1.743 MB / 0.5986 GB, free: 23.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.5754, allocations: 189.1 kB / 0.5988 GB, free: 23.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0228/0.5982, allocations: 9.06 MB / 0.6076 GB, free: 19.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/0.6001, allocations: 154.6 kB / 0.6078 GB, free: 19.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/0.6002, allocations: 37.77 kB / 0.6078 GB, free: 19.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.0005396/0.6008, allocations: 230.9 kB / 0.608 GB, free: 18.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002719/0.601, allocations: 104.2 kB / 0.6081 GB, free: 18.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/0.6135, allocations: 3.81 MB / 0.6118 GB, free: 16.96 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-05/0.6136, allocations: 17.34 kB / 0.6119 GB, free: 16.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.6136, allocations: 0 / 0.6119 GB, free: 16.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.99e-05/0.6136, allocations: 3.984 kB / 0.6119 GB, free: 16.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/0.6273, allocations: 5.391 MB / 0.6171 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.6274, allocations: 0 / 0.6171 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005956/0.628, allocations: 91.89 kB / 0.6172 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005302/0.6333, allocations: 1.742 MB / 0.6189 GB, free: 9.891 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002029/0.6335, allocations: 16 kB / 0.6189 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0162/0.6497, allocations: 8.067 MB / 0.6268 GB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6498, allocations: 0 / 0.6268 GB, free: 1.672 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/0.6639, allocations: 4.735 MB / 0.6314 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006009/0.6645, allocations: 191.7 kB / 0.6316 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/0.6647, allocations: 16 kB / 0.6316 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009821/0.6657, allocations: 91.89 kB / 0.6317 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007114/0.6664, allocations: 200.7 kB / 0.6319 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.016e-05/0.6665, allocations: 16 kB / 0.6319 GB, free: 12.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007293/0.6672, allocations: 0.5381 MB / 0.6324 GB, free: 11.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6673, allocations: 0 / 0.6324 GB, free: 11.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00154/0.6688, allocations: 407.5 kB / 0.6328 GB, free: 11.45 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.0003269/0.6691, allocations: 130.1 kB / 0.633 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006771/0.6759, allocations: 2.333 MB / 0.6352 GB, free: 8.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.676, allocations: 0 / 0.6352 GB, free: 8.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004553/0.6805, allocations: 1.515 MB / 0.6367 GB, free: 7.453 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.6816, allocations: 80.19 kB / 0.6368 GB, free: 7.375 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/0.6855, allocations: 2.186 MB / 0.6389 GB, free: 5.164 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006062/0.6861, allocations: 1.033 MB / 0.6399 GB, free: 4.105 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003272/0.6865, allocations: 63.42 kB / 0.64 GB, free: 4.043 MB / 446.1 MB Notification: Performance of SimCode: time 2.014e-06/0.6865, allocations: 0 / 0.64 GB, free: 4.043 MB / 446.1 MB Notification: Performance of Templates: time 0.02495/0.7114, allocations: 17.8 MB / 0.6574 GB, free: 2.234 MB / 462.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)