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.001145/0.001145, allocations: 107 kB / 16.27 MB, free: 6.414 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.252/1.252, allocations: 222.9 MB / 239.9 MB, free: 4.594 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.001244/0.001244, allocations: 196.4 kB / 290.2 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.413/0.413, allocations: 78.53 MB / 418.9 MB, free: 3.309 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001474, allocations: 83.8 kB / 498.1 MB, free: 6.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1132, allocations: 68.18 MB / 0.553 GB, free: 2.238 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.1918/0.305, allocations: 5.789 MB / 0.5587 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.3073, allocations: 1.738 MB / 0.5604 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002747/0.3076, allocations: 11.59 kB / 0.5604 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.3079, allocations: 212.1 kB / 0.5606 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.3091, allocations: 0.6778 MB / 0.5612 GB, free: 35.71 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.0008672/0.31, allocations: 0.5617 MB / 0.5618 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007899/0.3108, allocations: 1.252 MB / 0.563 GB, free: 35.58 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002996/0.3111, allocations: 272.2 kB / 0.5633 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003751/0.3115, allocations: 0.5198 MB / 0.5638 GB, free: 35.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004692/0.3119, allocations: 0.6445 MB / 0.5644 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.3121, allocations: 84.94 kB / 0.5645 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003221/0.3124, allocations: 224.8 kB / 0.5647 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.3125, allocations: 241.3 kB / 0.5649 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.3128, allocations: 0.5482 MB / 0.5655 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008594/0.3137, allocations: 1.35 MB / 0.5668 GB, free: 34.61 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3137, allocations: 0 / 0.5668 GB, free: 34.61 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3137, allocations: 0 / 0.5668 GB, free: 34.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.3137, allocations: 1.312 kB / 0.5668 GB, free: 34.61 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.006331/0.3201, allocations: 2.343 MB / 0.5691 GB, free: 33.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.3201, allocations: 10.55 kB / 0.5691 GB, free: 33.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004431/0.3246, allocations: 0.7632 MB / 0.5698 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007316/0.3253, allocations: 0.6948 MB / 0.5705 GB, free: 33.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/0.3255, allocations: 256 kB / 0.5708 GB, free: 33.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.3256, allocations: 74.06 kB / 0.5708 GB, free: 33.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.3273, allocations: 0.956 MB / 0.5718 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.3273, allocations: 8.328 kB / 0.5718 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.772e-05/0.3274, allocations: 25 kB / 0.5718 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.3274, allocations: 13.97 kB / 0.5718 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.3291, allocations: 0.9792 MB / 0.5728 GB, free: 33.08 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.003973/0.3331, allocations: 3.18 MB / 0.5759 GB, free: 32.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.3347, allocations: 1.317 MB / 0.5772 GB, free: 31.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.3358, allocations: 0.7016 MB / 0.5778 GB, free: 31.37 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.786e-05/0.3359, allocations: 18.3 kB / 0.5779 GB, free: 31.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.336, allocations: 49.41 kB / 0.5779 GB, free: 31.31 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.064e-06/0.336, allocations: 0 / 0.5779 GB, free: 31.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02275/0.3587, allocations: 6.477 MB / 0.5842 GB, free: 30.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.3588, allocations: 63.52 kB / 0.5843 GB, free: 30.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008962/0.3597, allocations: 0.7903 MB / 0.5851 GB, free: 29.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.3598, allocations: 41.2 kB / 0.5851 GB, free: 29.67 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.36, allocations: 433.1 kB / 0.5855 GB, free: 29.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.3603, allocations: 303.5 kB / 0.5858 GB, free: 29.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003227/0.3606, allocations: 194.5 kB / 0.586 GB, free: 28.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.3607, allocations: 344.5 kB / 0.5863 GB, free: 28.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/0.362, allocations: 0.6561 MB / 0.587 GB, free: 28.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.3634, allocations: 0.782 MB / 0.5877 GB, free: 28.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01691/0.3803, allocations: 4.541 MB / 0.5922 GB, free: 26.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.3804, allocations: 0.9688 kB / 0.5922 GB, free: 26.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01329/0.3937, allocations: 4.073 MB / 0.5961 GB, free: 25.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.3937, allocations: 6.953 kB / 0.5961 GB, free: 25.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.3937, allocations: 2.281 kB / 0.5961 GB, free: 25.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005875/0.3996, allocations: 1.742 MB / 0.5978 GB, free: 25.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009412/0.4006, allocations: 184.8 kB / 0.598 GB, free: 25.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02087/0.4215, allocations: 9.048 MB / 0.6069 GB, free: 21.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.4228, allocations: 155.3 kB / 0.607 GB, free: 21.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/0.423, allocations: 36.69 kB / 0.607 GB, free: 21.14 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.000424/0.4234, allocations: 231.1 kB / 0.6073 GB, free: 20.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.4237, allocations: 103.6 kB / 0.6074 GB, free: 20.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01207/0.4357, allocations: 3.815 MB / 0.6111 GB, free: 19.06 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.4358, allocations: 12.81 kB / 0.6111 GB, free: 19.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4358, allocations: 2.062 kB / 0.6111 GB, free: 19.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.4358, allocations: 9.297 kB / 0.6111 GB, free: 19.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/0.4489, allocations: 5.378 MB / 0.6164 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.4489, allocations: 5.5 kB / 0.6164 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004969/0.4494, allocations: 87.89 kB / 0.6165 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005217/0.4547, allocations: 1.744 MB / 0.6182 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.4548, allocations: 16 kB / 0.6182 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01625/0.471, allocations: 8.062 MB / 0.626 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4711, allocations: 0 / 0.626 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01319/0.4843, allocations: 4.743 MB / 0.6307 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003609/0.4847, allocations: 188.3 kB / 0.6309 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/0.4849, allocations: 15.98 kB / 0.6309 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.486, allocations: 91.91 kB / 0.631 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006051/0.4866, allocations: 208.6 kB / 0.6312 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-05/0.4867, allocations: 20 kB / 0.6312 GB, free: 14.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006976/0.4874, allocations: 0.5303 MB / 0.6317 GB, free: 14.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4874, allocations: 0 / 0.6317 GB, free: 14.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001347/0.4887, allocations: 407.5 kB / 0.6321 GB, free: 13.62 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.0002573/0.489, allocations: 135 kB / 0.6322 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006669/0.4957, allocations: 2.328 MB / 0.6345 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4957, allocations: 6.25 kB / 0.6345 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004612/0.5003, allocations: 1.513 MB / 0.636 GB, free: 9.621 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008157/0.5012, allocations: 76.59 kB / 0.636 GB, free: 9.547 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/0.5047, allocations: 1.845 MB / 0.6378 GB, free: 7.695 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000668/0.5053, allocations: 1.029 MB / 0.6388 GB, free: 6.641 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/0.5056, allocations: 63.42 kB / 0.6389 GB, free: 6.578 MB / 446.1 MB Notification: Performance of SimCode: time 7.42e-07/0.5056, allocations: 0 / 0.6389 GB, free: 6.578 MB / 446.1 MB Notification: Performance of Templates: time 0.02405/0.5297, allocations: 17.8 MB / 0.6563 GB, free: 4.914 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)