Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.00105, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.269/1.269, allocations: 222.9 MB / 239 MB, free: 4.719 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.001493/0.001493, allocations: 188.5 kB / 289.3 MB, free: 2.461 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4412/0.4412, allocations: 78.52 MB / 417.9 MB, free: 3.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001294, allocations: 71.88 kB / 496.9 MB, free: 6.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1243, allocations: 68.17 MB / 0.5519 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.2044/0.3287, allocations: 6.814 MB / 0.5585 GB, free: 36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003093/0.3318, allocations: 1.908 MB / 0.5604 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006495/0.3325, allocations: 11.88 kB / 0.5604 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005133/0.333, allocations: 172.6 kB / 0.5606 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.3344, allocations: 0.6273 MB / 0.5612 GB, free: 35.3 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.001052/0.3355, allocations: 0.5723 MB / 0.5617 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.3366, allocations: 1.409 MB / 0.5631 GB, free: 35.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00037/0.337, allocations: 324.6 kB / 0.5634 GB, free: 35.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005209/0.3375, allocations: 0.5985 MB / 0.564 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000532/0.3381, allocations: 0.7281 MB / 0.5647 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.3382, allocations: 104.1 kB / 0.5648 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.3386, allocations: 237 kB / 0.565 GB, free: 34.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.3388, allocations: 282 kB / 0.5653 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003482/0.3391, allocations: 0.631 MB / 0.5659 GB, free: 34.47 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001/0.3401, allocations: 1.502 MB / 0.5674 GB, free: 34.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3401, allocations: 0 / 0.5674 GB, free: 34.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3401, allocations: 1.094 kB / 0.5674 GB, free: 34.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.3402, allocations: 4.625 kB / 0.5674 GB, free: 34.09 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.006749/0.3469, allocations: 2.554 MB / 0.5699 GB, free: 33.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.347, allocations: 10.5 kB / 0.5699 GB, free: 33.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004425/0.3514, allocations: 0.7861 MB / 0.5707 GB, free: 33.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008902/0.3523, allocations: 0.7679 MB / 0.5714 GB, free: 32.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/0.3525, allocations: 266.4 kB / 0.5717 GB, free: 32.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.3527, allocations: 76.66 kB / 0.5717 GB, free: 32.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.3547, allocations: 1.079 MB / 0.5728 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.3547, allocations: 3.938 kB / 0.5728 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.711e-05/0.3548, allocations: 34.31 kB / 0.5728 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.3548, allocations: 19.19 kB / 0.5729 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002087/0.3569, allocations: 1.123 MB / 0.574 GB, free: 32.41 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.005028/0.3619, allocations: 3.469 MB / 0.5773 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.3638, allocations: 1.43 MB / 0.5787 GB, free: 30.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/0.3651, allocations: 0.7863 MB / 0.5795 GB, free: 30.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.3653, allocations: 21.06 kB / 0.5795 GB, free: 30.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.3653, allocations: 38.47 kB / 0.5796 GB, free: 29.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 2.826e-06/0.3653, allocations: 2.656 kB / 0.5796 GB, free: 29.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02352/0.3888, allocations: 6.608 MB / 0.586 GB, free: 28.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.3889, allocations: 61.03 kB / 0.5861 GB, free: 28.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.39, allocations: 0.8894 MB / 0.5869 GB, free: 28.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001474/0.3901, allocations: 41.2 kB / 0.587 GB, free: 28.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.3904, allocations: 0.4908 MB / 0.5875 GB, free: 27.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002639/0.3906, allocations: 352.7 kB / 0.5878 GB, free: 27.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003667/0.391, allocations: 203.1 kB / 0.588 GB, free: 27.49 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.097e-05/0.3911, allocations: 349 kB / 0.5883 GB, free: 27.17 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.3926, allocations: 0.7333 MB / 0.589 GB, free: 26.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/0.3942, allocations: 0.8629 MB / 0.5899 GB, free: 26.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0182/0.4124, allocations: 4.864 MB / 0.5946 GB, free: 25.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.4124, allocations: 4.969 kB / 0.5946 GB, free: 25.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01301/0.4254, allocations: 4.282 MB / 0.5988 GB, free: 24.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.4255, allocations: 5.562 kB / 0.5988 GB, free: 24.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.4255, allocations: 3.453 kB / 0.5988 GB, free: 24.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006043/0.4316, allocations: 1.734 MB / 0.6005 GB, free: 23.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.4328, allocations: 228.4 kB / 0.6007 GB, free: 23.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01862/0.4514, allocations: 9.063 MB / 0.6096 GB, free: 19.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.4529, allocations: 182.1 kB / 0.6098 GB, free: 19.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.453, allocations: 41.05 kB / 0.6098 GB, free: 19.12 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 (117): * Single equations (assignments): 116 * 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.0004242/0.4534, allocations: 245.2 kB / 0.61 GB, free: 18.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.4536, allocations: 123.7 kB / 0.6102 GB, free: 18.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/0.465, allocations: 4.008 MB / 0.6141 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.4651, allocations: 12 kB / 0.6141 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4651, allocations: 0 / 0.6141 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.4651, allocations: 3.984 kB / 0.6141 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/0.4775, allocations: 5.611 MB / 0.6196 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.4776, allocations: 0 / 0.6196 GB, free: 9.633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007144/0.4783, allocations: 135.8 kB / 0.6197 GB, free: 9.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004999/0.4833, allocations: 1.741 MB / 0.6214 GB, free: 7.758 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001674/0.4835, allocations: 16 kB / 0.6214 GB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01494/0.4984, allocations: 8.074 MB / 0.6293 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.4985, allocations: 0 / 0.6293 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/0.5125, allocations: 4.955 MB / 0.6341 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/0.5129, allocations: 204.6 kB / 0.6343 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.5131, allocations: 16 kB / 0.6343 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000959/0.514, allocations: 111.8 kB / 0.6344 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006667/0.5147, allocations: 220.7 kB / 0.6347 GB, free: 9.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.435e-05/0.5148, allocations: 24 kB / 0.6347 GB, free: 9.957 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006747/0.5155, allocations: 0.5987 MB / 0.6353 GB, free: 9.352 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5155, allocations: 0 / 0.6353 GB, free: 9.352 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001168/0.5167, allocations: 435.5 kB / 0.6357 GB, free: 8.926 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 (65): * Single equations (assignments): 64 * 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.0002436/0.5169, allocations: 135 kB / 0.6358 GB, free: 8.781 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006571/0.5235, allocations: 2.515 MB / 0.6383 GB, free: 6.254 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5235, allocations: 0 / 0.6383 GB, free: 6.254 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004402/0.5279, allocations: 1.595 MB / 0.6398 GB, free: 4.652 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007298/0.5287, allocations: 92.92 kB / 0.6399 GB, free: 4.562 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003877/0.5325, allocations: 2.489 MB / 0.6423 GB, free: 2.082 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005851/0.5332, allocations: 1.099 MB / 0.6434 GB, free: 0.957 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003882/0.5335, allocations: 90.06 kB / 0.6435 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.5338, allocations: 71.42 kB / 0.6436 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of SimCode: time 6.42e-07/0.5338, allocations: 0 / 0.6436 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of Templates: time 0.03142/0.5652, allocations: 22.24 MB / 0.6653 GB, free: 10.76 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)