Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.OEL.AVRTypeII_OEL_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.0007823/0.0007823, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.284/1.284, allocations: 223.3 MB / 239 MB, free: 5.449 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.00125/0.00125, allocations: 180.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4486/0.4486, allocations: 78.56 MB / 419.9 MB, free: 4.328 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003638, allocations: 12 kB / 499.8 MB, free: 6.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1276, allocations: 69.36 MB / 0.5558 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test): time 0.2328/0.3604, allocations: 6.431 MB / 0.5621 GB, free: 37.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005679/0.3662, allocations: 2.047 MB / 0.5641 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00208/0.3683, allocations: 17.12 kB / 0.5641 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.3699, allocations: 183.2 kB / 0.5643 GB, free: 36.87 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004081/0.374, allocations: 0.6324 MB / 0.5649 GB, free: 36.59 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation generator.xq <> generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.002623/0.3767, allocations: 0.6096 MB / 0.5655 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003385/0.3801, allocations: 1.538 MB / 0.567 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.3812, allocations: 324.9 kB / 0.5673 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.3832, allocations: 0.5927 MB / 0.5679 GB, free: 35.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002265/0.3855, allocations: 0.7298 MB / 0.5686 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006729/0.3862, allocations: 64.25 kB / 0.5687 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.3874, allocations: 187.6 kB / 0.5688 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006007/0.388, allocations: 255.7 kB / 0.5691 GB, free: 35.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007183/0.3887, allocations: 246.6 kB / 0.5693 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002087/0.3908, allocations: 1.345 MB / 0.5706 GB, free: 35.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3909, allocations: 0 / 0.5706 GB, free: 35.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3909, allocations: 0 / 0.5706 GB, free: 35.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.351e-05/0.391, allocations: 0 / 0.5706 GB, free: 35.32 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.008182/0.3991, allocations: 2.655 MB / 0.5732 GB, free: 34.37 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3992, allocations: 10.38 kB / 0.5732 GB, free: 34.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004875/0.4041, allocations: 0.8143 MB / 0.574 GB, free: 34.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.406, allocations: 0.8697 MB / 0.5749 GB, free: 33.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003463/0.4064, allocations: 344.6 kB / 0.5752 GB, free: 33.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002112/0.4066, allocations: 88.83 kB / 0.5753 GB, free: 33.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/0.409, allocations: 1.36 MB / 0.5766 GB, free: 33.08 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.4091, allocations: 2.625 kB / 0.5766 GB, free: 33.08 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.4092, allocations: 41.5 kB / 0.5767 GB, free: 33.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.4092, allocations: 21 kB / 0.5767 GB, free: 33.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002367/0.4116, allocations: 1.285 MB / 0.5779 GB, free: 32.64 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.005879/0.4175, allocations: 4.266 MB / 0.5821 GB, free: 30.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/0.4203, allocations: 1.88 MB / 0.5839 GB, free: 29.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001695/0.422, allocations: 0.9237 MB / 0.5848 GB, free: 28.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.4222, allocations: 19.33 kB / 0.5849 GB, free: 28.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001916/0.4241, allocations: 1.034 MB / 0.5859 GB, free: 28.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=108): time 3.406e-06/0.4241, allocations: 1.031 kB / 0.5859 GB, free: 28.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=108): time 0.03198/0.4561, allocations: 9.428 MB / 0.5951 GB, free: 26.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.4562, allocations: 116.1 kB / 0.5952 GB, free: 26.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/0.458, allocations: 1.034 MB / 0.5962 GB, free: 26.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002361/0.4583, allocations: 47.23 kB / 0.5962 GB, free: 26.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/0.4587, allocations: 0.5241 MB / 0.5968 GB, free: 25.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004825/0.4592, allocations: 392.6 kB / 0.5971 GB, free: 25.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.4593, allocations: 25.59 kB / 0.5972 GB, free: 25.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.4594, allocations: 358.8 kB / 0.5975 GB, free: 25.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/0.4612, allocations: 0.8603 MB / 0.5983 GB, free: 24.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/0.4631, allocations: 1.019 MB / 0.5993 GB, free: 24.35 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001958/0.4651, allocations: 0.9703 MB / 0.6003 GB, free: 23.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.4651, allocations: 0.9062 kB / 0.6003 GB, free: 23.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.01585/0.4809, allocations: 5.41 MB / 0.6056 GB, free: 22.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.848e-05/0.4811, allocations: 59.73 kB / 0.6056 GB, free: 22.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.4811, allocations: 3.578 kB / 0.6056 GB, free: 22.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007578/0.4887, allocations: 2.16 MB / 0.6077 GB, free: 22.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.4902, allocations: 285.5 kB / 0.608 GB, free: 22.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02013/0.5103, allocations: 9.717 MB / 0.6175 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/0.5124, allocations: 246.8 kB / 0.6177 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002199/0.5127, allocations: 51.98 kB / 0.6178 GB, free: 14.29 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.0006992/0.5134, allocations: 308.3 kB / 0.6181 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000314/0.5137, allocations: 134.3 kB / 0.6182 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01338/0.5271, allocations: 5.329 MB / 0.6234 GB, free: 8.484 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.5271, allocations: 8 kB / 0.6234 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5271, allocations: 4 kB / 0.6234 GB, free: 8.473 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.5272, allocations: 7.938 kB / 0.6234 GB, free: 8.465 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/0.5426, allocations: 7.185 MB / 0.6304 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.5427, allocations: 4 kB / 0.6304 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007388/0.5434, allocations: 131.8 kB / 0.6306 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006409/0.5499, allocations: 2.221 MB / 0.6327 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002126/0.5501, allocations: 23.98 kB / 0.6328 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0213/0.5714, allocations: 10.65 MB / 0.6432 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5714, allocations: 0 / 0.6432 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0166/0.588, allocations: 6.416 MB / 0.6494 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005142/0.5886, allocations: 224 kB / 0.6496 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003762/0.589, allocations: 24.94 kB / 0.6497 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/0.5904, allocations: 183.8 kB / 0.6498 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007468/0.5912, allocations: 232.6 kB / 0.6501 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/0.5913, allocations: 28 kB / 0.6501 GB, free: 12.69 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001167/0.5925, allocations: 0.6967 MB / 0.6508 GB, free: 11.99 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5925, allocations: 4 kB / 0.6508 GB, free: 11.98 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001826/0.5944, allocations: 483.5 kB / 0.6512 GB, free: 11.51 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.00032/0.5947, allocations: 141.3 kB / 0.6514 GB, free: 11.37 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007204/0.6019, allocations: 3.029 MB / 0.6543 GB, free: 8.305 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6019, allocations: 0 / 0.6543 GB, free: 8.305 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005198/0.6071, allocations: 2.074 MB / 0.6563 GB, free: 6.191 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/0.6088, allocations: 125.9 kB / 0.6565 GB, free: 6.066 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005729/0.6145, allocations: 2.944 MB / 0.6593 GB, free: 3.137 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009324/0.6155, allocations: 1.156 MB / 0.6605 GB, free: 1.945 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005498/0.6161, allocations: 114.4 kB / 0.6606 GB, free: 1.832 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003/0.6164, allocations: 75.41 kB / 0.6607 GB, free: 1.758 MB / 462.1 MB Notification: Performance of SimCode: time 1.783e-06/0.6164, allocations: 0 / 0.6607 GB, free: 1.758 MB / 462.1 MB Notification: Performance of Templates: time 0.03704/0.6534, allocations: 23.8 MB / 0.6839 GB, free: 10.12 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.OEL.AVRTypeII_OEL_Test.pipe 2>&1) Environment - environmentSimulation: