Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000872/0.0008721, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.26/1.26, allocations: 223.2 MB / 238.9 MB, free: 5.668 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.001071/0.001071, allocations: 189 kB / 290.2 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4457/0.4457, allocations: 79.45 MB / 420.7 MB, free: 4.008 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003235, allocations: 12 kB / 0.489 GB, free: 5.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1186, allocations: 69.52 MB / 0.5569 GB, free: 72 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.218/0.3366, allocations: 5.575 MB / 0.5623 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003684/0.3403, allocations: 1.836 MB / 0.5641 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009694/0.3413, allocations: 11.41 kB / 0.5641 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005559/0.3419, allocations: 160.7 kB / 0.5643 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001823/0.3437, allocations: 0.6501 MB / 0.5649 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.3449, allocations: 0.509 MB / 0.5654 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001625/0.3466, allocations: 0.904 MB / 0.5663 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005146/0.3471, allocations: 266.6 kB / 0.5666 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006154/0.3477, allocations: 0.4998 MB / 0.567 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005632/0.3483, allocations: 0.6183 MB / 0.5676 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.3484, allocations: 52.78 kB / 0.5677 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004187/0.3488, allocations: 167 kB / 0.5679 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.349, allocations: 213.7 kB / 0.5681 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.3491, allocations: 221.4 kB / 0.5683 GB, free: 36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008997/0.3501, allocations: 1.039 MB / 0.5693 GB, free: 35.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3501, allocations: 0 / 0.5693 GB, free: 35.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3501, allocations: 0 / 0.5693 GB, free: 35.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.069e-05/0.3501, allocations: 0.6875 kB / 0.5693 GB, free: 35.82 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007462/0.3576, allocations: 2.385 MB / 0.5716 GB, free: 34.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3576, allocations: 11.81 kB / 0.5716 GB, free: 34.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005054/0.3627, allocations: 0.7843 MB / 0.5724 GB, free: 34.81 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/0.3642, allocations: 0.7235 MB / 0.5731 GB, free: 34.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002915/0.3645, allocations: 271.9 kB / 0.5734 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.3647, allocations: 77.59 kB / 0.5734 GB, free: 34.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.3669, allocations: 1.149 MB / 0.5746 GB, free: 33.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.3669, allocations: 4.188 kB / 0.5746 GB, free: 33.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.01e-05/0.367, allocations: 32.97 kB / 0.5746 GB, free: 33.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.367, allocations: 22.89 kB / 0.5746 GB, free: 33.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002338/0.3694, allocations: 1.233 MB / 0.5758 GB, free: 33.29 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.005532/0.3749, allocations: 3.609 MB / 0.5793 GB, free: 31.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001897/0.3768, allocations: 1.496 MB / 0.5808 GB, free: 30.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.346e-05/0.3769, allocations: 19.8 kB / 0.5808 GB, free: 30.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.377, allocations: 42.88 kB / 0.5809 GB, free: 30.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.396e-06/0.377, allocations: 6.938 kB / 0.5809 GB, free: 30.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02817/0.4051, allocations: 8.314 MB / 0.589 GB, free: 28.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.4052, allocations: 70.25 kB / 0.5891 GB, free: 28.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.4064, allocations: 0.8719 MB / 0.5899 GB, free: 28.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000242/0.4067, allocations: 42.39 kB / 0.5899 GB, free: 28.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.407, allocations: 498 kB / 0.5904 GB, free: 27.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004375/0.4074, allocations: 342.8 kB / 0.5907 GB, free: 27.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.231e-05/0.4075, allocations: 21.75 kB / 0.5908 GB, free: 27.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.313e-05/0.4076, allocations: 349.4 kB / 0.5911 GB, free: 27.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.4094, allocations: 0.8026 MB / 0.5919 GB, free: 27.03 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/0.4112, allocations: 0.9175 MB / 0.5928 GB, free: 26.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001843/0.4131, allocations: 0.8552 MB / 0.5936 GB, free: 26.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/0.4131, allocations: 1.812 kB / 0.5936 GB, free: 26.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01568/0.4288, allocations: 5.149 MB / 0.5986 GB, free: 25.22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/0.4289, allocations: 6.781 kB / 0.5987 GB, free: 25.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.4289, allocations: 2.25 kB / 0.5987 GB, free: 25.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007122/0.436, allocations: 2.176 MB / 0.6008 GB, free: 24.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.4372, allocations: 224.5 kB / 0.601 GB, free: 24.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02356/0.4608, allocations: 9.778 MB / 0.6105 GB, free: 20.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.4625, allocations: 225.5 kB / 0.6108 GB, free: 20.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.4626, allocations: 44.11 kB / 0.6108 GB, free: 20.6 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (108): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005334/0.4632, allocations: 240.1 kB / 0.611 GB, free: 20.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.4634, allocations: 118.5 kB / 0.6111 GB, free: 20.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01362/0.477, allocations: 4.948 MB / 0.616 GB, free: 16.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/0.4771, allocations: 12 kB / 0.616 GB, free: 16.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.4771, allocations: 4.938 kB / 0.616 GB, free: 16.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-05/0.4771, allocations: 3.984 kB / 0.616 GB, free: 16.13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0149/0.492, allocations: 6.556 MB / 0.6224 GB, free: 9.438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/0.4921, allocations: 3.938 kB / 0.6224 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008066/0.4929, allocations: 143.8 kB / 0.6225 GB, free: 9.293 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005717/0.4986, allocations: 2.046 MB / 0.6245 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002272/0.4989, allocations: 21.31 kB / 0.6246 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01789/0.5168, allocations: 8.65 MB / 0.633 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.5168, allocations: 3.953 kB / 0.633 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01758/0.5344, allocations: 5.991 MB / 0.6389 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006688/0.5352, allocations: 207.4 kB / 0.6391 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004108/0.5356, allocations: 16 kB / 0.6391 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.537, allocations: 155.9 kB / 0.6392 GB, free: 8.023 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000746/0.5377, allocations: 212.6 kB / 0.6394 GB, free: 7.812 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.5379, allocations: 24 kB / 0.6394 GB, free: 7.789 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009315/0.5388, allocations: 0.5809 MB / 0.64 GB, free: 7.199 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5388, allocations: 4 kB / 0.64 GB, free: 7.195 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001852/0.5407, allocations: 435.5 kB / 0.6404 GB, free: 6.77 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003439/0.541, allocations: 135 kB / 0.6406 GB, free: 6.629 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007435/0.5485, allocations: 2.758 MB / 0.6433 GB, free: 3.859 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5485, allocations: 0 / 0.6433 GB, free: 3.859 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005241/0.5538, allocations: 1.788 MB / 0.645 GB, free: 2.066 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008039/0.5546, allocations: 73.14 kB / 0.6451 GB, free: 1.996 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.5585, allocations: 2.314 MB / 0.6473 GB, free: 15.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006326/0.5592, allocations: 1.108 MB / 0.6484 GB, free: 14.54 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003912/0.5596, allocations: 92.61 kB / 0.6485 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.5598, allocations: 55.42 kB / 0.6485 GB, free: 14.39 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5598, allocations: 4 kB / 0.6486 GB, free: 14.39 MB / 462.1 MB Notification: Performance of Templates: time 0.0328/0.5926, allocations: 19.79 MB / 0.6679 GB, free: 10.8 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)