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/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.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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001248, allocations: 104 kB / 16.35 MB, free: 5.824 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.341/1.341, allocations: 222.9 MB / 240 MB, free: 4.516 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.001229/0.001229, allocations: 184.5 kB / 290.3 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4982/0.4982, allocations: 91.9 MB / 432.4 MB, free: 9.141 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 87.84 kB / 0.5033 GB, free: 6.941 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3604, allocations: 71.24 MB / 0.5729 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005858/0.3663, allocations: 6.522 MB / 0.5792 GB, free: 33.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003513/0.3698, allocations: 1.893 MB / 0.5811 GB, free: 31.85 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008212/0.3707, allocations: 8.5 kB / 0.5811 GB, free: 31.85 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005642/0.3713, allocations: 229.5 kB / 0.5813 GB, free: 31.72 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.373, allocations: 0.716 MB / 0.582 GB, free: 31.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.3741, allocations: 0.626 MB / 0.5826 GB, free: 30.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001171/0.3753, allocations: 1.426 MB / 0.584 GB, free: 30.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003953/0.3757, allocations: 330.9 kB / 0.5843 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005147/0.3763, allocations: 0.5864 MB / 0.5849 GB, free: 29.8 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005709/0.3768, allocations: 0.7288 MB / 0.5856 GB, free: 29.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001295/0.377, allocations: 106.5 kB / 0.5857 GB, free: 29.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004101/0.3774, allocations: 241.2 kB / 0.5859 GB, free: 29.38 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.3776, allocations: 277.8 kB / 0.5862 GB, free: 29.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004079/0.378, allocations: 0.6252 MB / 0.5868 GB, free: 28.78 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.3792, allocations: 1.516 MB / 0.5883 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3792, allocations: 4 kB / 0.5883 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3792, allocations: 0 / 0.5883 GB, free: 28.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.3792, allocations: 0 / 0.5883 GB, free: 28.08 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.007548/0.3868, allocations: 2.564 MB / 0.5908 GB, free: 26.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3868, allocations: 11.09 kB / 0.5908 GB, free: 26.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005008/0.3918, allocations: 0.7724 MB / 0.5916 GB, free: 26.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.3935, allocations: 0.7768 MB / 0.5923 GB, free: 26.18 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002547/0.3937, allocations: 265.8 kB / 0.5926 GB, free: 25.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.3939, allocations: 75.44 kB / 0.5927 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.3961, allocations: 1.08 MB / 0.5937 GB, free: 25.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.3961, allocations: 4.844 kB / 0.5937 GB, free: 25.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.309e-05/0.3962, allocations: 29.97 kB / 0.5937 GB, free: 25.51 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.3962, allocations: 19.41 kB / 0.5938 GB, free: 25.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002311/0.3985, allocations: 1.127 MB / 0.5949 GB, free: 25.16 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.005778/0.4043, allocations: 3.471 MB / 0.5983 GB, free: 23.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/0.4065, allocations: 1.426 MB / 0.5996 GB, free: 22.26 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.408, allocations: 0.7877 MB / 0.6004 GB, free: 21.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.4081, allocations: 22.28 kB / 0.6004 GB, free: 21.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.4081, allocations: 43.56 kB / 0.6005 GB, free: 21.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 2.545e-06/0.4081, allocations: 0 / 0.6005 GB, free: 21.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02716/0.4353, allocations: 6.872 MB / 0.6072 GB, free: 20.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.4354, allocations: 62.09 kB / 0.6072 GB, free: 20.58 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.4368, allocations: 0.8894 MB / 0.6081 GB, free: 20.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002728/0.437, allocations: 41.02 kB / 0.6082 GB, free: 20.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/0.4374, allocations: 0.4901 MB / 0.6086 GB, free: 19.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003975/0.4378, allocations: 347.7 kB / 0.609 GB, free: 19.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004014/0.4382, allocations: 207.8 kB / 0.6092 GB, free: 19.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.825e-05/0.4383, allocations: 350.7 kB / 0.6095 GB, free: 19.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.44, allocations: 0.7344 MB / 0.6102 GB, free: 18.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001855/0.4419, allocations: 0.8569 MB / 0.6111 GB, free: 18.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01874/0.4606, allocations: 4.854 MB / 0.6158 GB, free: 16.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.4607, allocations: 1.125 kB / 0.6158 GB, free: 16.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01275/0.4735, allocations: 4.278 MB / 0.62 GB, free: 13.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.4735, allocations: 8 kB / 0.62 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.4735, allocations: 0 / 0.62 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005329/0.4789, allocations: 1.733 MB / 0.6217 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.4801, allocations: 219.7 kB / 0.6219 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0174/0.4975, allocations: 9.063 MB / 0.6307 GB, free: 2.566 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.4991, allocations: 182.9 kB / 0.6309 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.865e-05/0.4992, allocations: 43.98 kB / 0.6309 GB, free: 2.344 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.0004526/0.4996, allocations: 237.7 kB / 0.6312 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.4998, allocations: 122.4 kB / 0.6313 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/0.5115, allocations: 4.01 MB / 0.6352 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.5115, allocations: 8 kB / 0.6352 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5115, allocations: 3.984 kB / 0.6352 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.397e-05/0.5116, allocations: 3.984 kB / 0.6352 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0149/0.5265, allocations: 5.625 MB / 0.6407 GB, free: 8.172 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.5265, allocations: 3.938 kB / 0.6407 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008193/0.5274, allocations: 127.9 kB / 0.6408 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005699/0.5331, allocations: 1.737 MB / 0.6425 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002228/0.5333, allocations: 23.92 kB / 0.6426 GB, free: 6.277 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01785/0.5512, allocations: 8.046 MB / 0.6504 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5512, allocations: 8 kB / 0.6504 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01459/0.5658, allocations: 4.96 MB / 0.6553 GB, free: 9.09 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004434/0.5663, allocations: 207.4 kB / 0.6555 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003806/0.5667, allocations: 16 kB / 0.6555 GB, free: 8.852 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.568, allocations: 111.9 kB / 0.6556 GB, free: 8.742 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000833/0.5689, allocations: 216.7 kB / 0.6558 GB, free: 8.527 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/0.569, allocations: 23.98 kB / 0.6558 GB, free: 8.504 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009661/0.57, allocations: 0.5969 MB / 0.6564 GB, free: 7.898 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.57, allocations: 0 / 0.6564 GB, free: 7.898 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001781/0.5718, allocations: 443.4 kB / 0.6568 GB, free: 7.465 MB / 462.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.0003945/0.5722, allocations: 139.2 kB / 0.657 GB, free: 7.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007429/0.5797, allocations: 2.471 MB / 0.6594 GB, free: 4.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.5797, allocations: 0 / 0.6594 GB, free: 4.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004988/0.5847, allocations: 1.605 MB / 0.6609 GB, free: 3.223 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.5859, allocations: 88.36 kB / 0.661 GB, free: 3.133 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004551/0.5905, allocations: 2.048 MB / 0.663 GB, free: 1.062 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007926/0.5913, allocations: 1.095 MB / 0.6641 GB, free: 15.93 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004349/0.5917, allocations: 90.75 kB / 0.6642 GB, free: 15.84 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/0.592, allocations: 71.36 kB / 0.6642 GB, free: 15.77 MB / 478.1 MB Notification: Performance of SimCode: time 2.264e-06/0.592, allocations: 0 / 0.6642 GB, free: 15.77 MB / 478.1 MB Notification: Performance of Templates: time 0.03839/0.6304, allocations: 23.42 MB / 0.6871 GB, free: 8.359 MB / 494.1 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 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)