Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001306/0.001306, allocations: 99.86 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.285/1.285, allocations: 223.2 MB / 238.9 MB, free: 5.629 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.001223/0.001223, allocations: 187.9 kB / 290.2 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4503/0.4503, allocations: 78.52 MB / 419.8 MB, free: 4.348 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003239, allocations: 12 kB / 499.6 MB, free: 6.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1189, allocations: 69.36 MB / 0.5557 GB, free: 1 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.279/0.398, allocations: 5.569 MB / 0.5611 GB, free: 37.33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003074/0.4011, allocations: 1.833 MB / 0.5629 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009187/0.4021, allocations: 16.47 kB / 0.5629 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005661/0.4027, allocations: 150.4 kB / 0.5631 GB, free: 37.01 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002095/0.4048, allocations: 0.6484 MB / 0.5637 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.4062, allocations: 0.5069 MB / 0.5642 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001867/0.4081, allocations: 0.9041 MB / 0.5651 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004048/0.4085, allocations: 265 kB / 0.5653 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006689/0.4092, allocations: 0.4969 MB / 0.5658 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007145/0.4099, allocations: 0.6166 MB / 0.5664 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.4102, allocations: 53.72 kB / 0.5665 GB, free: 36.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005083/0.4107, allocations: 163.8 kB / 0.5666 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.4109, allocations: 219.7 kB / 0.5668 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000317/0.4112, allocations: 216 kB / 0.567 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.4122, allocations: 1.043 MB / 0.5681 GB, free: 36.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.4122, allocations: 0 / 0.5681 GB, free: 36.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4122, allocations: 0 / 0.5681 GB, free: 36.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.142e-05/0.4123, allocations: 3.5 kB / 0.5681 GB, free: 36.29 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.00709/0.4194, allocations: 2.385 MB / 0.5704 GB, free: 35.44 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.4194, allocations: 10.78 kB / 0.5704 GB, free: 35.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005013/0.4244, allocations: 0.7875 MB / 0.5712 GB, free: 35.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.426, allocations: 0.7234 MB / 0.5719 GB, free: 34.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002905/0.4263, allocations: 273.2 kB / 0.5721 GB, free: 34.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.4265, allocations: 78.22 kB / 0.5722 GB, free: 34.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.4288, allocations: 1.15 MB / 0.5733 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.4288, allocations: 0 / 0.5733 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.429, allocations: 30.28 kB / 0.5734 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.429, allocations: 19.56 kB / 0.5734 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002511/0.4315, allocations: 1.242 MB / 0.5746 GB, free: 34.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.005507/0.437, allocations: 3.594 MB / 0.5781 GB, free: 32.33 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/0.439, allocations: 1.499 MB / 0.5796 GB, free: 31.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.4391, allocations: 20.14 kB / 0.5796 GB, free: 31.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.4391, allocations: 39.55 kB / 0.5796 GB, free: 31.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.725e-06/0.4391, allocations: 4 kB / 0.5796 GB, free: 31.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02734/0.4665, allocations: 8.326 MB / 0.5878 GB, free: 29.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.4666, allocations: 66 kB / 0.5878 GB, free: 29.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.4679, allocations: 0.8737 MB / 0.5887 GB, free: 29.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002625/0.4682, allocations: 45.58 kB / 0.5887 GB, free: 29.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/0.4685, allocations: 498.6 kB / 0.5892 GB, free: 29.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003527/0.4689, allocations: 334 kB / 0.5895 GB, free: 28.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.137e-05/0.469, allocations: 21.5 kB / 0.5895 GB, free: 28.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.4691, allocations: 349.8 kB / 0.5899 GB, free: 28.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001733/0.4708, allocations: 0.8042 MB / 0.5906 GB, free: 28.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/0.4726, allocations: 0.914 MB / 0.5915 GB, free: 27.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.4743, allocations: 0.8615 MB / 0.5924 GB, free: 27.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.485e-06/0.4743, allocations: 0.9688 kB / 0.5924 GB, free: 27.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01492/0.4893, allocations: 5.146 MB / 0.5974 GB, free: 26.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.4893, allocations: 7.156 kB / 0.5974 GB, free: 26.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.4893, allocations: 3.594 kB / 0.5974 GB, free: 26.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006871/0.4962, allocations: 2.184 MB / 0.5995 GB, free: 26.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.4974, allocations: 220.8 kB / 0.5998 GB, free: 25.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02209/0.5195, allocations: 9.779 MB / 0.6093 GB, free: 21.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/0.5213, allocations: 226.3 kB / 0.6095 GB, free: 21.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.5214, allocations: 42.78 kB / 0.6096 GB, free: 21.73 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.000491/0.5219, allocations: 238.6 kB / 0.6098 GB, free: 21.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.5221, allocations: 119.5 kB / 0.6099 GB, free: 21.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/0.5354, allocations: 4.947 MB / 0.6147 GB, free: 17.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.5355, allocations: 12 kB / 0.6147 GB, free: 17.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5355, allocations: 8.922 kB / 0.6148 GB, free: 17.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.5355, allocations: 3.984 kB / 0.6148 GB, free: 17.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/0.5499, allocations: 6.555 MB / 0.6212 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.5499, allocations: 5.531 kB / 0.6212 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006622/0.5506, allocations: 139.9 kB / 0.6213 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005721/0.5563, allocations: 2.049 MB / 0.6233 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/0.5564, allocations: 23.98 kB / 0.6233 GB, free: 8.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01674/0.5732, allocations: 8.649 MB / 0.6318 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.5732, allocations: 3.953 kB / 0.6318 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01671/0.59, allocations: 5.995 MB / 0.6376 GB, free: 9.684 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004762/0.5905, allocations: 203.4 kB / 0.6378 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002673/0.5907, allocations: 19.98 kB / 0.6378 GB, free: 9.445 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.5919, allocations: 155.9 kB / 0.638 GB, free: 9.293 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006542/0.5926, allocations: 212.6 kB / 0.6382 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.5927, allocations: 24 kB / 0.6382 GB, free: 9.062 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007858/0.5935, allocations: 0.5848 MB / 0.6388 GB, free: 8.469 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5935, allocations: 4 kB / 0.6388 GB, free: 8.465 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001417/0.5949, allocations: 427.5 kB / 0.6392 GB, free: 8.047 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.0002826/0.5952, allocations: 131.1 kB / 0.6393 GB, free: 7.906 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00763/0.6029, allocations: 2.755 MB / 0.642 GB, free: 5.141 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.6029, allocations: 2.156 kB / 0.642 GB, free: 5.141 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005235/0.6082, allocations: 1.791 MB / 0.6438 GB, free: 3.344 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000734/0.6089, allocations: 72.38 kB / 0.6438 GB, free: 3.273 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003904/0.6129, allocations: 2.317 MB / 0.6461 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006344/0.6135, allocations: 1.108 MB / 0.6472 GB, free: 15.81 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004134/0.6139, allocations: 94.16 kB / 0.6473 GB, free: 15.72 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.6142, allocations: 59.36 kB / 0.6473 GB, free: 15.66 MB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.6142, allocations: 0 / 0.6473 GB, free: 15.66 MB / 462.1 MB Notification: Performance of Templates: time 0.03046/0.6446, allocations: 19.8 MB / 0.6667 GB, free: 12.08 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) Environment - environmentSimulation: