Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.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.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009703/0.0009706, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.4/1.4, allocations: 223.3 MB / 239.4 MB, free: 5.523 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.001177/0.001177, allocations: 176.5 kB / 290.6 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4683/0.4683, allocations: 78.56 MB / 420.3 MB, free: 4.227 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003624, allocations: 8 kB / 0.4887 GB, free: 6.027 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.127, allocations: 69.36 MB / 0.5564 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.2382/0.3653, allocations: 5.188 MB / 0.5615 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00414/0.3695, allocations: 1.665 MB / 0.5631 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.3706, allocations: 8.562 kB / 0.5631 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008006/0.3714, allocations: 136.6 kB / 0.5632 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002754/0.3742, allocations: 0.5663 MB / 0.5638 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.3759, allocations: 475.4 kB / 0.5642 GB, free: 35.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002128/0.3781, allocations: 1.039 MB / 0.5652 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000653/0.3787, allocations: 234.5 kB / 0.5655 GB, free: 35.42 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008672/0.3796, allocations: 422 kB / 0.5659 GB, free: 35.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.3807, allocations: 0.5588 MB / 0.5664 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003472/0.381, allocations: 46.53 kB / 0.5665 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008636/0.3819, allocations: 176.6 kB / 0.5666 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003494/0.3823, allocations: 203.1 kB / 0.5668 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007767/0.383, allocations: 495.4 kB / 0.5673 GB, free: 34.83 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.385, allocations: 1.191 MB / 0.5685 GB, free: 34.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.385, allocations: 0 / 0.5685 GB, free: 34.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.385, allocations: 0 / 0.5685 GB, free: 34.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.264e-05/0.3851, allocations: 0 / 0.5685 GB, free: 34.53 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.008882/0.394, allocations: 2.039 MB / 0.5705 GB, free: 33.76 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.394, allocations: 11.41 kB / 0.5705 GB, free: 33.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006603/0.4007, allocations: 0.6505 MB / 0.5711 GB, free: 33.69 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.4024, allocations: 0.6507 MB / 0.5717 GB, free: 33.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002775/0.4027, allocations: 187.4 kB / 0.5719 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003648/0.4031, allocations: 64.69 kB / 0.572 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003023/0.4062, allocations: 0.9456 MB / 0.5729 GB, free: 33.15 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.4062, allocations: 0.7031 kB / 0.5729 GB, free: 33.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.4064, allocations: 30.72 kB / 0.5729 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/0.4064, allocations: 18.41 kB / 0.5729 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00285/0.4093, allocations: 1.005 MB / 0.5739 GB, free: 33.12 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.006129/0.4154, allocations: 2.541 MB / 0.5764 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002608/0.418, allocations: 1.19 MB / 0.5776 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.4199, allocations: 0.7248 MB / 0.5783 GB, free: 31.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.42, allocations: 15.81 kB / 0.5783 GB, free: 31.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.4201, allocations: 42.36 kB / 0.5783 GB, free: 31.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.506e-06/0.4201, allocations: 3.938 kB / 0.5783 GB, free: 31.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02808/0.4482, allocations: 6.717 MB / 0.5849 GB, free: 31.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.4483, allocations: 60.44 kB / 0.585 GB, free: 31.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.4494, allocations: 0.7657 MB / 0.5857 GB, free: 30.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001773/0.4495, allocations: 40.17 kB / 0.5857 GB, free: 30.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.4498, allocations: 394.9 kB / 0.5861 GB, free: 30.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003072/0.4501, allocations: 300.2 kB / 0.5864 GB, free: 30.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.4503, allocations: 96.23 kB / 0.5865 GB, free: 30.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.582e-05/0.4504, allocations: 348.9 kB / 0.5868 GB, free: 29.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/0.452, allocations: 0.6926 MB / 0.5875 GB, free: 29.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.4535, allocations: 0.7962 MB / 0.5883 GB, free: 29.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01765/0.4712, allocations: 4.646 MB / 0.5928 GB, free: 28.15 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.4712, allocations: 2.438 kB / 0.5928 GB, free: 28.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01333/0.4845, allocations: 4.331 MB / 0.5971 GB, free: 27.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.4846, allocations: 5.812 kB / 0.5971 GB, free: 27.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.4846, allocations: 6.5 kB / 0.5971 GB, free: 27.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006206/0.4909, allocations: 1.755 MB / 0.5988 GB, free: 26.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.4919, allocations: 197.6 kB / 0.599 GB, free: 26.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01845/0.5104, allocations: 8.29 MB / 0.6071 GB, free: 23.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.5118, allocations: 186.6 kB / 0.6072 GB, free: 23.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/0.512, allocations: 37.61 kB / 0.6073 GB, free: 23.04 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real mixed.x:VARIABLE(start = -mixed.v_0 / mixed.Tfv fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (97): * Single equations (assignments): 96 * 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 {(19,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0005938/0.5126, allocations: 241.8 kB / 0.6075 GB, free: 22.85 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002436/0.5129, allocations: 98.23 kB / 0.6076 GB, free: 22.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/0.5255, allocations: 4.142 MB / 0.6116 GB, free: 20.83 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.5255, allocations: 13.55 kB / 0.6117 GB, free: 20.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5255, allocations: 1.5 kB / 0.6117 GB, free: 20.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.01e-05/0.5256, allocations: 4.781 kB / 0.6117 GB, free: 20.82 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 postOpt removeSimpleEquations (simulation): time 0.01426/0.5398, allocations: 5.513 MB / 0.617 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.5399, allocations: 7.984 kB / 0.6171 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006163/0.5405, allocations: 107.8 kB / 0.6172 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005618/0.5461, allocations: 1.784 MB / 0.6189 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000207/0.5464, allocations: 12 kB / 0.6189 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01519/0.5616, allocations: 7.399 MB / 0.6261 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.5616, allocations: 1.297 kB / 0.6261 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01319/0.5748, allocations: 5.087 MB / 0.6311 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002767/0.5751, allocations: 189.5 kB / 0.6313 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/0.5754, allocations: 20 kB / 0.6313 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009811/0.5763, allocations: 116.9 kB / 0.6314 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004907/0.5769, allocations: 164.7 kB / 0.6316 GB, free: 392 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.486e-05/0.5769, allocations: 20 kB / 0.6316 GB, free: 372 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005818/0.5775, allocations: 0.5224 MB / 0.6321 GB, free: 15.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5775, allocations: 0 / 0.6321 GB, free: 15.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001199/0.5787, allocations: 383.6 kB / 0.6325 GB, free: 15.47 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,mixed.x,mixed.y) * 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 (49): * Single equations (assignments): 48 * 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 {(20,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002541/0.579, allocations: 123 kB / 0.6326 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006135/0.5851, allocations: 2.344 MB / 0.6349 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.5852, allocations: 0 / 0.6349 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004228/0.5894, allocations: 1.497 MB / 0.6363 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009897/0.5904, allocations: 86.92 kB / 0.6364 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/0.594, allocations: 2.157 MB / 0.6385 GB, free: 9.238 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006153/0.5946, allocations: 1.029 MB / 0.6395 GB, free: 8.184 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003794/0.595, allocations: 89.2 kB / 0.6396 GB, free: 8.098 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.5952, allocations: 55.42 kB / 0.6397 GB, free: 8.043 MB / 446.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5952, allocations: 0 / 0.6397 GB, free: 8.043 MB / 446.1 MB Notification: Performance of Templates: time 0.03342/0.6287, allocations: 18.75 MB / 0.658 GB, free: 5.512 MB / 462.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & ./OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1) Environment - environmentSimulation: