Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.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.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001439, allocations: 100.1 kB / 16.35 MB, free: 5.828 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.398/1.398, allocations: 222.9 MB / 240 MB, free: 4.5 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.001273/0.001274, allocations: 196.4 kB / 290.3 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4628/0.4628, allocations: 78.54 MB / 419 MB, free: 3.152 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.001451, allocations: 83.86 kB / 498.9 MB, free: 5.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1368, allocations: 68.18 MB / 0.5538 GB, free: 1.398 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test): time 0.2268/0.3637, allocations: 6.622 MB / 0.5602 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004182/0.3679, allocations: 2.016 MB / 0.5622 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000974/0.3689, allocations: 13.91 kB / 0.5622 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007692/0.3697, allocations: 247.6 kB / 0.5625 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.3715, allocations: 0.7603 MB / 0.5632 GB, free: 35 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.3729, allocations: 0.6664 MB / 0.5639 GB, free: 34.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001513/0.3744, allocations: 1.641 MB / 0.5655 GB, free: 34.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004492/0.3749, allocations: 349.7 kB / 0.5658 GB, free: 34.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000683/0.3756, allocations: 0.6649 MB / 0.5664 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007505/0.3763, allocations: 0.8088 MB / 0.5672 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.3765, allocations: 126.4 kB / 0.5674 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004352/0.3769, allocations: 264.9 kB / 0.5676 GB, free: 34.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002229/0.3772, allocations: 326.2 kB / 0.5679 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004405/0.3776, allocations: 0.6731 MB / 0.5686 GB, free: 33.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.3789, allocations: 1.706 MB / 0.5702 GB, free: 33.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3789, allocations: 1.438 kB / 0.5702 GB, free: 33.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.379, allocations: 0 / 0.5702 GB, free: 33.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.379, allocations: 0 / 0.5702 GB, free: 33.45 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.008033/0.387, allocations: 2.756 MB / 0.5729 GB, free: 32.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3871, allocations: 8.656 kB / 0.5729 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004725/0.3918, allocations: 0.7868 MB / 0.5737 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.3933, allocations: 0.8892 MB / 0.5746 GB, free: 31.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002134/0.3936, allocations: 258 kB / 0.5748 GB, free: 31.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.3937, allocations: 89.53 kB / 0.5749 GB, free: 31.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.3958, allocations: 1.181 MB / 0.5761 GB, free: 31.69 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.3958, allocations: 0 / 0.5761 GB, free: 31.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-05/0.3959, allocations: 30.88 kB / 0.5761 GB, free: 31.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.3959, allocations: 18.88 kB / 0.5761 GB, free: 31.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.3979, allocations: 1.071 MB / 0.5772 GB, free: 31.68 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.005998/0.4039, allocations: 3.668 MB / 0.5807 GB, free: 30.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/0.4061, allocations: 1.549 MB / 0.5822 GB, free: 29.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.4075, allocations: 0.7776 MB / 0.583 GB, free: 28.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.4076, allocations: 18.78 kB / 0.583 GB, free: 28.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00166/0.4093, allocations: 0.8959 MB / 0.5839 GB, free: 28.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=102): time 2.805e-06/0.4093, allocations: 0 / 0.5839 GB, free: 28.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=102): time 0.02617/0.4355, allocations: 6.96 MB / 0.5907 GB, free: 26.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.4356, allocations: 118.6 kB / 0.5908 GB, free: 26.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/0.4378, allocations: 1.036 MB / 0.5918 GB, free: 26.38 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003467/0.4382, allocations: 46.05 kB / 0.5919 GB, free: 26.33 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004538/0.4386, allocations: 0.5001 MB / 0.5924 GB, free: 25.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004834/0.4391, allocations: 373.7 kB / 0.5927 GB, free: 25.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005759/0.4397, allocations: 247.4 kB / 0.5929 GB, free: 25.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.4398, allocations: 356.2 kB / 0.5933 GB, free: 25.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/0.4416, allocations: 0.7627 MB / 0.594 GB, free: 24.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/0.4435, allocations: 0.9143 MB / 0.5949 GB, free: 24.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02182/0.4653, allocations: 5.414 MB / 0.6002 GB, free: 22.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/0.4654, allocations: 1.344 kB / 0.6002 GB, free: 22.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01398/0.4793, allocations: 4.502 MB / 0.6046 GB, free: 21.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.395e-05/0.4794, allocations: 59.84 kB / 0.6047 GB, free: 21.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.4795, allocations: 3.5 kB / 0.6047 GB, free: 21.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006535/0.486, allocations: 1.862 MB / 0.6065 GB, free: 21.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.4875, allocations: 253.7 kB / 0.6067 GB, free: 21.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01927/0.5067, allocations: 9.458 MB / 0.616 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.5086, allocations: 190.8 kB / 0.6161 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.5088, allocations: 47.98 kB / 0.6162 GB, free: 14.22 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.delta:VARIABLE(flow=false start = order6Type2_Inputs_Outputs.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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 2 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006255/0.5094, allocations: 295.6 kB / 0.6165 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.5096, allocations: 126.4 kB / 0.6166 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01137/0.521, allocations: 4.193 MB / 0.6207 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.5211, allocations: 12 kB / 0.6207 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.5211, allocations: 0 / 0.6207 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.891e-05/0.5211, allocations: 8.766 kB / 0.6207 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/0.5343, allocations: 5.97 MB / 0.6265 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.5344, allocations: 1 kB / 0.6265 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000763/0.5351, allocations: 103.9 kB / 0.6266 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005195/0.5403, allocations: 1.832 MB / 0.6284 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002001/0.5406, allocations: 19.98 kB / 0.6284 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02089/0.5615, allocations: 10.3 MB / 0.6385 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.5615, allocations: 3.938 kB / 0.6385 GB, free: 6.887 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01503/0.5765, allocations: 5.129 MB / 0.6435 GB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005336/0.5771, allocations: 223.2 kB / 0.6437 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.5773, allocations: 31.92 kB / 0.6438 GB, free: 1.453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.5785, allocations: 113.7 kB / 0.6439 GB, free: 1.344 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007027/0.5793, allocations: 208.7 kB / 0.6441 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-05/0.5794, allocations: 28 kB / 0.6441 GB, free: 1.113 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001098/0.5805, allocations: 0.7071 MB / 0.6448 GB, free: 408 kB / 446.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5805, allocations: 0 / 0.6448 GB, free: 408 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001635/0.5821, allocations: 479.6 kB / 0.6452 GB, free: 15.93 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.ExcitationSystem.x_scaled[1],aVRI.derivativeBlock.x,aVRI.firstOrder2.y,aVRI.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(26,10), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000295/0.5824, allocations: 133.3 kB / 0.6454 GB, free: 15.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006711/0.5891, allocations: 2.693 MB / 0.648 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.5892, allocations: 0 / 0.648 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004874/0.5941, allocations: 1.797 MB / 0.6498 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.5953, allocations: 123.5 kB / 0.6499 GB, free: 11.13 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/0.5997, allocations: 2.342 MB / 0.6522 GB, free: 8.801 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007199/0.6004, allocations: 1.124 MB / 0.6533 GB, free: 7.648 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004264/0.6008, allocations: 112.5 kB / 0.6534 GB, free: 7.539 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.6011, allocations: 71.42 kB / 0.6534 GB, free: 7.469 MB / 462.1 MB Notification: Performance of SimCode: time 3.166e-06/0.6011, allocations: 0 / 0.6534 GB, free: 7.469 MB / 462.1 MB Notification: Performance of Templates: time 0.04033/0.6414, allocations: 26.39 MB / 0.6792 GB, free: 13.27 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeII_Test.pipe 2>&1)