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.001069/0.001069, allocations: 105.6 kB / 15.99 MB, free: 5.891 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.334/1.334, allocations: 222.9 MB / 239.6 MB, free: 4.758 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.001611/0.001612, allocations: 188.5 kB / 289.9 MB, free: 2.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4947/0.4947, allocations: 78.52 MB / 418.6 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 75.88 kB / 497.6 MB, free: 6.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1394, allocations: 68.18 MB / 0.5525 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.2554/0.3948, allocations: 6.708 MB / 0.5591 GB, free: 36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003615/0.3985, allocations: 1.884 MB / 0.5609 GB, free: 35.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006484/0.3992, allocations: 11.62 kB / 0.5609 GB, free: 35.47 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005599/0.3997, allocations: 174.9 kB / 0.5611 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.4013, allocations: 0.6251 MB / 0.5617 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.4025, allocations: 0.5584 MB / 0.5622 GB, free: 35.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.404, allocations: 1.392 MB / 0.5636 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004746/0.4045, allocations: 322.5 kB / 0.5639 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006756/0.4052, allocations: 0.5841 MB / 0.5645 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005983/0.4058, allocations: 0.7211 MB / 0.5652 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.4059, allocations: 101.6 kB / 0.5653 GB, free: 34.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004392/0.4064, allocations: 243.9 kB / 0.5655 GB, free: 34.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.4066, allocations: 272.9 kB / 0.5658 GB, free: 34.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004066/0.407, allocations: 0.6208 MB / 0.5664 GB, free: 34.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009863/0.408, allocations: 1.133 MB / 0.5675 GB, free: 34.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.408, allocations: 1.188 kB / 0.5675 GB, free: 34.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.408, allocations: 1.125 kB / 0.5675 GB, free: 34.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.408, allocations: 0 / 0.5675 GB, free: 34.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.007079/0.4151, allocations: 2.546 MB / 0.57 GB, free: 33.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.4152, allocations: 11.86 kB / 0.57 GB, free: 33.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004661/0.4198, allocations: 0.7768 MB / 0.5707 GB, free: 33.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.4209, allocations: 0.7649 MB / 0.5715 GB, free: 32.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/0.4211, allocations: 262.8 kB / 0.5717 GB, free: 32.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.4213, allocations: 76.88 kB / 0.5718 GB, free: 32.69 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002067/0.4234, allocations: 1.073 MB / 0.5729 GB, free: 32.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.4234, allocations: 3.938 kB / 0.5729 GB, free: 32.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.984e-05/0.4235, allocations: 27.62 kB / 0.5729 GB, free: 32.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.4235, allocations: 18.38 kB / 0.5729 GB, free: 32.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/0.4257, allocations: 1.126 MB / 0.574 GB, free: 32.61 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.005248/0.431, allocations: 3.439 MB / 0.5774 GB, free: 31.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/0.4328, allocations: 1.406 MB / 0.5787 GB, free: 30.65 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/0.4342, allocations: 0.7803 MB / 0.5795 GB, free: 30.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.4344, allocations: 17.17 kB / 0.5795 GB, free: 30.35 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.4344, allocations: 47.38 kB / 0.5796 GB, free: 30.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.286e-06/0.4344, allocations: 0 / 0.5796 GB, free: 30.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02572/0.4601, allocations: 6.742 MB / 0.5861 GB, free: 29.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.4602, allocations: 66 kB / 0.5862 GB, free: 28.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.4616, allocations: 0.8833 MB / 0.5871 GB, free: 28.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002469/0.4619, allocations: 45.02 kB / 0.5871 GB, free: 28.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/0.4622, allocations: 0.4885 MB / 0.5876 GB, free: 28.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003562/0.4626, allocations: 338.6 kB / 0.5879 GB, free: 27.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004208/0.463, allocations: 195.8 kB / 0.5881 GB, free: 27.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.284e-05/0.4631, allocations: 347.8 kB / 0.5884 GB, free: 27.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.4647, allocations: 0.7154 MB / 0.5891 GB, free: 27.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/0.4664, allocations: 0.8356 MB / 0.5899 GB, free: 26.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01916/0.4856, allocations: 4.798 MB / 0.5946 GB, free: 25.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.4856, allocations: 1.375 kB / 0.5946 GB, free: 25.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01424/0.4999, allocations: 4.25 MB / 0.5988 GB, free: 24.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.4999, allocations: 6.406 kB / 0.5988 GB, free: 24.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.5, allocations: 3.422 kB / 0.5988 GB, free: 24.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006578/0.5065, allocations: 1.874 MB / 0.6006 GB, free: 24.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.5078, allocations: 207.5 kB / 0.6008 GB, free: 24.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02125/0.5291, allocations: 9.091 MB / 0.6097 GB, free: 19.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.5308, allocations: 177.6 kB / 0.6099 GB, free: 19.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.531, allocations: 39.2 kB / 0.6099 GB, free: 19.48 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 (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 prepare postOptimizeDAE: time 0.000529/0.5315, allocations: 245.7 kB / 0.6101 GB, free: 19.28 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/0.5318, allocations: 119.1 kB / 0.6102 GB, free: 19.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/0.5438, allocations: 4.007 MB / 0.6142 GB, free: 16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.5439, allocations: 8 kB / 0.6142 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.5439, allocations: 3.938 kB / 0.6142 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.227e-05/0.5439, allocations: 3.984 kB / 0.6142 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/0.5574, allocations: 5.619 MB / 0.6197 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.5575, allocations: 3.984 kB / 0.6197 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007231/0.5582, allocations: 124.9 kB / 0.6198 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005167/0.5634, allocations: 1.749 MB / 0.6215 GB, free: 8.352 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001985/0.5636, allocations: 21.12 kB / 0.6215 GB, free: 8.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01554/0.5791, allocations: 8.078 MB / 0.6294 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5792, allocations: 0 / 0.6294 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01516/0.5944, allocations: 4.966 MB / 0.6343 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004868/0.5949, allocations: 199.5 kB / 0.6344 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/0.5951, allocations: 16 kB / 0.6345 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.5962, allocations: 107.9 kB / 0.6346 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007334/0.597, allocations: 216.7 kB / 0.6348 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.039e-05/0.597, allocations: 28.88 kB / 0.6348 GB, free: 10.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008159/0.5979, allocations: 0.5965 MB / 0.6354 GB, free: 9.934 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5979, allocations: 0 / 0.6354 GB, free: 9.934 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001606/0.5995, allocations: 431.4 kB / 0.6358 GB, free: 9.512 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 (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.0003467/0.5998, allocations: 141.3 kB / 0.6359 GB, free: 9.363 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00741/0.6073, allocations: 2.493 MB / 0.6384 GB, free: 6.855 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.82e-06/0.6073, allocations: 4 kB / 0.6384 GB, free: 6.852 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004935/0.6123, allocations: 1.589 MB / 0.6399 GB, free: 5.262 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.6135, allocations: 84.98 kB / 0.64 GB, free: 5.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004854/0.6183, allocations: 2.413 MB / 0.6423 GB, free: 2.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007243/0.6191, allocations: 1.088 MB / 0.6434 GB, free: 1.637 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004032/0.6195, allocations: 67.42 kB / 0.6435 GB, free: 1.57 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.6195, allocations: 0 / 0.6435 GB, free: 1.57 MB / 446.1 MB Notification: Performance of Templates: time 0.02676/0.6463, allocations: 19.91 MB / 0.6629 GB, free: 13.83 MB / 478.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (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)