Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_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.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.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 99.31 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.311/1.311, allocations: 223.2 MB / 239 MB, free: 5.469 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.001094/0.001094, allocations: 181 kB / 290.2 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4662/0.4662, allocations: 79.45 MB / 420.7 MB, free: 3.918 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003659, allocations: 12 kB / 0.489 GB, free: 5.582 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1447, allocations: 69.52 MB / 0.5569 GB, free: 8 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.233/0.3777, allocations: 6.135 MB / 0.5629 GB, free: 37.67 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003863/0.3816, allocations: 2.094 MB / 0.5649 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009914/0.3827, allocations: 19.75 kB / 0.5649 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006897/0.3834, allocations: 177.9 kB / 0.5651 GB, free: 37.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001894/0.3853, allocations: 0.7025 MB / 0.5658 GB, free: 37.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.3867, allocations: 0.6065 MB / 0.5664 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001623/0.3883, allocations: 1.073 MB / 0.5674 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004482/0.3888, allocations: 327.3 kB / 0.5678 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007439/0.3896, allocations: 0.5957 MB / 0.5683 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007315/0.3903, allocations: 0.7094 MB / 0.569 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.3904, allocations: 61.31 kB / 0.5691 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004331/0.3909, allocations: 171.5 kB / 0.5692 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.3911, allocations: 259.6 kB / 0.5695 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.3913, allocations: 243.3 kB / 0.5697 GB, free: 35.57 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.3923, allocations: 1.292 MB / 0.571 GB, free: 35.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.3924, allocations: 0 / 0.571 GB, free: 35.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3924, allocations: 0.875 kB / 0.571 GB, free: 35.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.833e-05/0.3924, allocations: 0 / 0.571 GB, free: 35.2 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.008098/0.4005, allocations: 2.663 MB / 0.5736 GB, free: 34.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.4005, allocations: 14.16 kB / 0.5736 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005149/0.4057, allocations: 0.8013 MB / 0.5744 GB, free: 33.93 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.4075, allocations: 0.8758 MB / 0.5752 GB, free: 33.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003049/0.4078, allocations: 347.1 kB / 0.5756 GB, free: 33.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.408, allocations: 86.41 kB / 0.5757 GB, free: 33.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.4105, allocations: 1.36 MB / 0.577 GB, free: 32.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.4105, allocations: 0 / 0.577 GB, free: 32.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.4106, allocations: 36.59 kB / 0.577 GB, free: 32.51 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.4106, allocations: 25.95 kB / 0.577 GB, free: 32.51 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/0.4131, allocations: 1.282 MB / 0.5783 GB, free: 32.11 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.006621/0.4197, allocations: 4.392 MB / 0.5826 GB, free: 29.58 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002971/0.4227, allocations: 1.863 MB / 0.5844 GB, free: 28.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.4229, allocations: 25.45 kB / 0.5844 GB, free: 28.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001871/0.4247, allocations: 1.031 MB / 0.5854 GB, free: 28.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 3.146e-06/0.4248, allocations: 0 / 0.5854 GB, free: 28.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03342/0.4582, allocations: 9.254 MB / 0.5945 GB, free: 26.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.4583, allocations: 123.7 kB / 0.5946 GB, free: 26.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/0.4599, allocations: 1.031 MB / 0.5956 GB, free: 25.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002996/0.4602, allocations: 46.39 kB / 0.5956 GB, free: 25.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.4606, allocations: 0.5203 MB / 0.5962 GB, free: 25.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003865/0.461, allocations: 395.5 kB / 0.5965 GB, free: 25.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.869e-05/0.4611, allocations: 30.33 kB / 0.5966 GB, free: 25.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.825e-05/0.4612, allocations: 354.7 kB / 0.5969 GB, free: 24.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001821/0.463, allocations: 0.8562 MB / 0.5977 GB, free: 24.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/0.4649, allocations: 1.016 MB / 0.5987 GB, free: 24.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001914/0.4668, allocations: 0.9716 MB / 0.5997 GB, free: 23.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.4669, allocations: 5.891 kB / 0.5997 GB, free: 23.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01569/0.4826, allocations: 5.398 MB / 0.6049 GB, free: 22.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.901e-05/0.4827, allocations: 67.38 kB / 0.605 GB, free: 22.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.4827, allocations: 4.938 kB / 0.605 GB, free: 22.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007377/0.4901, allocations: 2.16 MB / 0.6071 GB, free: 21.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.4917, allocations: 276.8 kB / 0.6074 GB, free: 21.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02168/0.5134, allocations: 10.19 MB / 0.6173 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/0.5153, allocations: 254.8 kB / 0.6176 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.5154, allocations: 51.98 kB / 0.6176 GB, free: 14.35 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 variables: generator.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real exciter_Type_II.firstOrder2.y:VARIABLE(flow=false start = exciter_Type_II.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real generator.e1d:VARIABLE(start = generator.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,oXL.limIntegrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 2 * 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 {25 13} Notification: Performance of prepare postOptimizeDAE: time 0.000589/0.516, allocations: 306.1 kB / 0.6179 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.5162, allocations: 130.4 kB / 0.6181 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/0.5301, allocations: 5.326 MB / 0.6233 GB, free: 8.566 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.5301, allocations: 12.66 kB / 0.6233 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.5302, allocations: 0 / 0.6233 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.814e-05/0.5302, allocations: 11.92 kB / 0.6233 GB, free: 8.543 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01614/0.5463, allocations: 7.239 MB / 0.6303 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/0.5464, allocations: 4.656 kB / 0.6304 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007625/0.5472, allocations: 139.8 kB / 0.6305 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006504/0.5537, allocations: 2.207 MB / 0.6326 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002343/0.5539, allocations: 32.98 kB / 0.6327 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02588/0.5798, allocations: 11.14 MB / 0.6436 GB, free: 3.352 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.5799, allocations: 8.875 kB / 0.6436 GB, free: 3.344 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01883/0.5987, allocations: 6.434 MB / 0.6498 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006379/0.5994, allocations: 223.2 kB / 0.6501 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005257/0.5999, allocations: 22.06 kB / 0.6501 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001679/0.6016, allocations: 183.8 kB / 0.6503 GB, free: 12.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008387/0.6025, allocations: 236.5 kB / 0.6505 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/0.6027, allocations: 31.98 kB / 0.6505 GB, free: 12.17 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001231/0.6039, allocations: 0.6928 MB / 0.6512 GB, free: 11.47 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.6039, allocations: 0 / 0.6512 GB, free: 11.47 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002158/0.6061, allocations: 491.4 kB / 0.6517 GB, free: 10.99 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (generator.delta,generator.w,generator.e1q,generator.e1d,exciter_Type_II.ExcitationSystem.x_scaled[1],exciter_Type_II.derivativeBlock.x,exciter_Type_II.firstOrder2.y,exciter_Type_II.simpleLagLim.state,oXL.limIntegrator.y) * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 13,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004082/0.6065, allocations: 145.7 kB / 0.6518 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00758/0.6141, allocations: 3.018 MB / 0.6547 GB, free: 7.789 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.6141, allocations: 0 / 0.6547 GB, free: 7.789 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005498/0.6197, allocations: 2.069 MB / 0.6568 GB, free: 5.684 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00096/0.6206, allocations: 101.3 kB / 0.6569 GB, free: 5.582 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005221/0.6259, allocations: 2.979 MB / 0.6598 GB, free: 2.621 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007677/0.6267, allocations: 1.179 MB / 0.6609 GB, free: 1.41 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005187/0.6272, allocations: 120.4 kB / 0.661 GB, free: 1.293 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.6275, allocations: 71.42 kB / 0.6611 GB, free: 1.223 MB / 462.1 MB Notification: Performance of SimCode: time 5.62e-07/0.6275, allocations: 0 / 0.6611 GB, free: 1.223 MB / 462.1 MB Notification: Performance of Templates: time 0.03611/0.6636, allocations: 23.75 MB / 0.6843 GB, free: 9.652 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1)