Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.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_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 182.9 kB / 15.98 MB, free: 5.77 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.235/1.235, allocations: 222.9 MB / 239.7 MB, free: 10.96 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009367/0.0009366, allocations: 101.5 kB / 289.9 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.429/0.429, allocations: 78.48 MB / 418.5 MB, free: 8.797 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 67.89 kB / 497.4 MB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2601, allocations: 68.13 MB / 0.5523 GB, free: 20.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005798/0.2659, allocations: 6.816 MB / 0.559 GB, free: 13.35 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003597/0.2696, allocations: 1.907 MB / 0.5608 GB, free: 11.44 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000876/0.2705, allocations: 12 kB / 0.5608 GB, free: 11.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004655/0.271, allocations: 174.8 kB / 0.561 GB, free: 11.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001413/0.2724, allocations: 0.6488 MB / 0.5616 GB, free: 10.6 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.2736, allocations: 0.567 MB / 0.5622 GB, free: 10.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.2747, allocations: 1.378 MB / 0.5635 GB, free: 8.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003608/0.2751, allocations: 295.3 kB / 0.5638 GB, free: 8.367 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005287/0.2756, allocations: 0.5482 MB / 0.5644 GB, free: 7.816 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005142/0.2761, allocations: 0.7037 MB / 0.565 GB, free: 7.109 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.2763, allocations: 68 kB / 0.5651 GB, free: 7.043 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000436/0.2767, allocations: 195.9 kB / 0.5653 GB, free: 6.852 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.2769, allocations: 242.8 kB / 0.5655 GB, free: 6.613 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003978/0.2773, allocations: 0.5939 MB / 0.5661 GB, free: 6.016 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009644/0.2783, allocations: 1.452 MB / 0.5675 GB, free: 4.559 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2783, allocations: 0 / 0.5675 GB, free: 4.559 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2783, allocations: 0 / 0.5675 GB, free: 4.559 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.2783, allocations: 0 / 0.5675 GB, free: 4.559 MB / 378.7 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.007276/0.2856, allocations: 2.567 MB / 0.57 GB, free: 1.938 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2856, allocations: 8.031 kB / 0.57 GB, free: 1.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004505/0.2902, allocations: 0.7827 MB / 0.5708 GB, free: 1.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009572/0.2911, allocations: 0.7724 MB / 0.5716 GB, free: 324 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/0.2914, allocations: 260.2 kB / 0.5718 GB, free: 24 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.2915, allocations: 79.98 kB / 0.5719 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/0.2938, allocations: 1.077 MB / 0.5729 GB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.2939, allocations: 3.938 kB / 0.5729 GB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.87e-05/0.294, allocations: 32 kB / 0.573 GB, free: 14.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.294, allocations: 20 kB / 0.573 GB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002559/0.2965, allocations: 1.128 MB / 0.5741 GB, free: 13.68 MB / 394.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.005764/0.3023, allocations: 3.471 MB / 0.5775 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002144/0.3045, allocations: 1.44 MB / 0.5789 GB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/0.3062, allocations: 0.7813 MB / 0.5797 GB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.3063, allocations: 16.98 kB / 0.5797 GB, free: 7.688 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.3064, allocations: 51.5 kB / 0.5797 GB, free: 7.629 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 2.635e-06/0.3064, allocations: 0 / 0.5797 GB, free: 7.629 MB / 394.7 MB Notification: Performance of matching and sorting (n=98): time 0.02701/0.3334, allocations: 6.606 MB / 0.5862 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.3335, allocations: 68.34 kB / 0.5862 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.3347, allocations: 0.8884 MB / 0.5871 GB, free: 4 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002546/0.335, allocations: 41.7 kB / 0.5871 GB, free: 15.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/0.3354, allocations: 0.4929 MB / 0.5876 GB, free: 15.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003944/0.3358, allocations: 347 kB / 0.588 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004144/0.3362, allocations: 202.8 kB / 0.5881 GB, free: 14.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3364, allocations: 353.9 kB / 0.5885 GB, free: 14.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/0.3382, allocations: 0.7326 MB / 0.5892 GB, free: 13.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/0.3399, allocations: 0.858 MB / 0.59 GB, free: 12.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0193/0.3593, allocations: 4.853 MB / 0.5948 GB, free: 8.051 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.3593, allocations: 3.938 kB / 0.5948 GB, free: 8.047 MB / 410.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01434/0.3736, allocations: 4.273 MB / 0.599 GB, free: 3.758 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.3737, allocations: 12 kB / 0.599 GB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3737, allocations: 0 / 0.599 GB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006215/0.3799, allocations: 1.722 MB / 0.6006 GB, free: 2.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.3811, allocations: 231.7 kB / 0.6009 GB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01979/0.4009, allocations: 8.346 MB / 0.609 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.4025, allocations: 174.9 kB / 0.6092 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.4026, allocations: 43.98 kB / 0.6092 GB, free: 9.09 MB / 426.7 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.0004214/0.403, allocations: 233.7 kB / 0.6094 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.4032, allocations: 130.5 kB / 0.6096 GB, free: 8.723 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/0.4168, allocations: 4.01 MB / 0.6135 GB, free: 4.691 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.4168, allocations: 8 kB / 0.6135 GB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4168, allocations: 4 kB / 0.6135 GB, free: 4.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.077e-05/0.4168, allocations: 7.969 kB / 0.6135 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01553/0.4324, allocations: 5.61 MB / 0.619 GB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/0.4324, allocations: 3.938 kB / 0.619 GB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007943/0.4332, allocations: 127.9 kB / 0.6191 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006035/0.4393, allocations: 1.737 MB / 0.6208 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/0.4394, allocations: 23.98 kB / 0.6208 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01734/0.4568, allocations: 7.346 MB / 0.628 GB, free: 5.539 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4568, allocations: 0 / 0.628 GB, free: 5.539 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09311/0.5499, allocations: 32.51 MB / 0.6597 GB, free: 4.699 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.5502, allocations: 207.4 kB / 0.6599 GB, free: 4.477 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.5503, allocations: 19.98 kB / 0.66 GB, free: 4.457 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.5514, allocations: 107.9 kB / 0.6601 GB, free: 4.352 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006993/0.5521, allocations: 212.6 kB / 0.6603 GB, free: 4.145 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.613e-05/0.5522, allocations: 27.94 kB / 0.6603 GB, free: 4.117 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000693/0.5529, allocations: 0.6008 MB / 0.6609 GB, free: 3.508 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5529, allocations: 4 kB / 0.6609 GB, free: 3.504 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001487/0.5544, allocations: 0.5855 MB / 0.6615 GB, free: 2.918 MB / 474.7 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.0002491/0.5547, allocations: 127.2 kB / 0.6616 GB, free: 2.785 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006762/0.5614, allocations: 2.444 MB / 0.664 GB, free: 340 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5615, allocations: 0 / 0.664 GB, free: 340 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004961/0.5664, allocations: 1.568 MB / 0.6655 GB, free: 14.74 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007668/0.5672, allocations: 88.41 kB / 0.6656 GB, free: 14.65 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007751/0.575, allocations: 3.784 MB / 0.6693 GB, free: 10.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006398/0.5757, allocations: 1.138 MB / 0.6704 GB, free: 9.648 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004351/0.5761, allocations: 90.75 kB / 0.6705 GB, free: 9.555 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.5763, allocations: 63.42 kB / 0.6705 GB, free: 9.492 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5764, allocations: 8 kB / 0.6705 GB, free: 9.484 MB / 490.7 MB Notification: Performance of Templates: time 0.2533/0.8297, allocations: 30.37 MB / 0.7002 GB, free: 107.5 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)