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.001087/0.001087, allocations: 119.1 kB / 16.37 MB, free: 5.984 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.274/1.274, allocations: 222.9 MB / 240 MB, free: 4.504 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.001302/0.001302, allocations: 184.5 kB / 290.3 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4819/0.4819, allocations: 91.89 MB / 432.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001409, allocations: 88.08 kB / 0.5033 GB, free: 6.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3075, allocations: 71.27 MB / 0.5729 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005905/0.3134, allocations: 6.507 MB / 0.5792 GB, free: 32.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003776/0.3173, allocations: 1.901 MB / 0.5811 GB, free: 31.63 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009319/0.3182, allocations: 13.19 kB / 0.5811 GB, free: 31.63 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006037/0.3188, allocations: 222 kB / 0.5813 GB, free: 31.51 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.3206, allocations: 0.722 MB / 0.582 GB, free: 31.03 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.3217, allocations: 0.6126 MB / 0.5826 GB, free: 30.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.323, allocations: 1.428 MB / 0.584 GB, free: 30.01 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004097/0.3234, allocations: 319.9 kB / 0.5843 GB, free: 29.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005593/0.324, allocations: 0.5893 MB / 0.5849 GB, free: 29.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005476/0.3245, allocations: 0.7377 MB / 0.5856 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.3246, allocations: 103.2 kB / 0.5857 GB, free: 29.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003648/0.325, allocations: 242.3 kB / 0.5859 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.3252, allocations: 281.2 kB / 0.5862 GB, free: 28.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003467/0.3255, allocations: 0.6164 MB / 0.5868 GB, free: 28.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.3266, allocations: 1.528 MB / 0.5883 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3266, allocations: 0 / 0.5883 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3266, allocations: 0 / 0.5883 GB, free: 27.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.213e-05/0.3267, allocations: 0 / 0.5883 GB, free: 27.86 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.007158/0.3338, allocations: 2.564 MB / 0.5908 GB, free: 26.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3339, allocations: 9.875 kB / 0.5908 GB, free: 26.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004614/0.3385, allocations: 0.7726 MB / 0.5916 GB, free: 26.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.3396, allocations: 0.775 MB / 0.5923 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002119/0.3398, allocations: 260.5 kB / 0.5926 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.34, allocations: 80 kB / 0.5927 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.3419, allocations: 1.08 MB / 0.5937 GB, free: 25.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.3419, allocations: 3.938 kB / 0.5937 GB, free: 25.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.1e-05/0.342, allocations: 34.61 kB / 0.5938 GB, free: 25.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.342, allocations: 18.56 kB / 0.5938 GB, free: 25.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/0.3442, allocations: 1.119 MB / 0.5949 GB, free: 24.95 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.005243/0.3494, allocations: 3.483 MB / 0.5983 GB, free: 22.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.3512, allocations: 1.423 MB / 0.5997 GB, free: 22.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.3526, allocations: 0.7831 MB / 0.6004 GB, free: 21.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.3527, allocations: 19.91 kB / 0.6004 GB, free: 21.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.3528, allocations: 43.78 kB / 0.6005 GB, free: 21.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 2.655e-06/0.3528, allocations: 0 / 0.6005 GB, free: 21.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.025/0.3778, allocations: 6.878 MB / 0.6072 GB, free: 20.42 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.818e-05/0.3779, allocations: 62.06 kB / 0.6073 GB, free: 20.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.3796, allocations: 0.8897 MB / 0.6081 GB, free: 19.98 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002375/0.3798, allocations: 41.42 kB / 0.6082 GB, free: 19.94 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000365/0.3802, allocations: 0.4915 MB / 0.6086 GB, free: 19.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005604/0.3808, allocations: 345.9 kB / 0.609 GB, free: 19.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006608/0.3814, allocations: 208.1 kB / 0.6092 GB, free: 19.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3816, allocations: 350.9 kB / 0.6095 GB, free: 18.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.3834, allocations: 0.7298 MB / 0.6102 GB, free: 18.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/0.3851, allocations: 0.8645 MB / 0.6111 GB, free: 18.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01786/0.403, allocations: 4.847 MB / 0.6158 GB, free: 16.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.403, allocations: 0 / 0.6158 GB, free: 16.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01182/0.4149, allocations: 4.283 MB / 0.62 GB, free: 13.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.4149, allocations: 8 kB / 0.62 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.4149, allocations: 0 / 0.62 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004795/0.4197, allocations: 1.729 MB / 0.6217 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.4208, allocations: 227.7 kB / 0.6219 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01645/0.4373, allocations: 9.053 MB / 0.6307 GB, free: 2.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.4389, allocations: 182.9 kB / 0.6309 GB, free: 2.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.4391, allocations: 43.98 kB / 0.6309 GB, free: 2.355 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.0004588/0.4396, allocations: 235.3 kB / 0.6312 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.4398, allocations: 122.4 kB / 0.6313 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/0.4509, allocations: 4.01 MB / 0.6352 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.451, allocations: 15.98 kB / 0.6352 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.451, allocations: 3.938 kB / 0.6352 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.451, allocations: 3.984 kB / 0.6352 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01404/0.4651, allocations: 5.622 MB / 0.6407 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.4651, allocations: 0 / 0.6407 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007262/0.4658, allocations: 135.8 kB / 0.6408 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005283/0.4711, allocations: 1.734 MB / 0.6425 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/0.4713, allocations: 19.98 kB / 0.6426 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0165/0.4878, allocations: 8.057 MB / 0.6504 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.4878, allocations: 7.922 kB / 0.6504 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01389/0.5017, allocations: 4.96 MB / 0.6553 GB, free: 9.102 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007371/0.5025, allocations: 203.4 kB / 0.6555 GB, free: 8.883 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/0.5028, allocations: 16 kB / 0.6555 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.5039, allocations: 115.9 kB / 0.6556 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007448/0.5047, allocations: 212.7 kB / 0.6558 GB, free: 8.543 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.952e-05/0.5048, allocations: 27.98 kB / 0.6558 GB, free: 8.516 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007441/0.5055, allocations: 0.593 MB / 0.6564 GB, free: 7.914 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.001e-05/0.5055, allocations: 0 / 0.6564 GB, free: 7.914 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001624/0.5072, allocations: 447.4 kB / 0.6568 GB, free: 7.477 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.0003629/0.5075, allocations: 135.1 kB / 0.657 GB, free: 7.336 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006403/0.5139, allocations: 2.475 MB / 0.6594 GB, free: 4.852 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.514, allocations: 0 / 0.6594 GB, free: 4.852 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004293/0.5183, allocations: 1.601 MB / 0.6609 GB, free: 3.238 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007698/0.5191, allocations: 92.36 kB / 0.661 GB, free: 3.145 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003397/0.5225, allocations: 2.044 MB / 0.663 GB, free: 1.074 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.523, allocations: 1.099 MB / 0.6641 GB, free: 15.94 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003112/0.5234, allocations: 90.75 kB / 0.6642 GB, free: 15.85 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.5236, allocations: 67.36 kB / 0.6643 GB, free: 15.79 MB / 478.1 MB Notification: Performance of SimCode: time 7.62e-07/0.5236, allocations: 0 / 0.6643 GB, free: 15.79 MB / 478.1 MB Notification: Performance of Templates: time 0.03242/0.556, allocations: 23.42 MB / 0.6871 GB, free: 8.379 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 cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)